CPU backend throws an error when running this sample

#1
by LeMetamax - opened

When we set the backend for all models to CPU, this error
AssertionException: Tensor.Reshape: Sentis can only reshape when the new length fits in the number of elements allocated on the backend, got 4, expected 3
Assertion failure. Value was False
Expected: True
points to this line of code:
tokensTensor.Reshape(new TensorShape(1, tokenCount));

Sign up or log in to comment