As reported in #225 I'm seeing a number of these errors in a model we're using:
There was a problem writing the data buffer to the tensor, error: Error Domain=org.tensorflow.lite.interpreter Code=1 "Input tensor at index (0) expects data size (8), but got (4)." UserInfo={NSLocalizedDescription=Input tensor at index (0) expects data size (8), but got (4).}
Hypothesis 2: Indices in the JSON are out of order and I'm trying to write float32s to inputs that expected int64s
I take the order of the inputs from the saved_model_cli and have always assumed this is the order they will be in TF Lite as well, but I don't actually know if that's the case or how to check input indices. Would be nice if we could reference these by name.
As reported in #225 I'm seeing a number of these errors in a model we're using:
Hypothesis 2: Indices in the JSON are out of order and I'm trying to write float32s to inputs that expected int64s
I take the order of the inputs from the saved_model_cli and have always assumed this is the order they will be in TF Lite as well, but I don't actually know if that's the case or how to check input indices. Would be nice if we could reference these by name.