Build Error - elementType
Closed this issue · 0 comments
summerHearts commented
When I was running the project on a real machine, the following error occurred. How should I fix it
If I change it to int32, the following error occurs again
let srTensor:ORTValue = try ORTValue(tensorData: NSMutableData(data: srData), elementType: .int32, shape: inputShape2)
UserInfo={NSLocalizedDescription=Unexpected input data type. Actual: (tensor(int32)) , expected: (tensor(int64))}
Thank you very much.