You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(which should have no effect because the shape is the same), I get the following error.
Main: TensorFlowException TF_INVALID_ARGUMENT "No OpKernel was registered to support Op 'Reshape' with these attrs. Registered devices: [CPU], Registered kernels:\n device='GPU'; T in [DT_COMPLEX128]; Tshape in [DT_INT32]\n device='GPU'; T in [DT_COMPLEX64]; Tshape in [DT_INT32]\n device='GPU'; T in [DT_INT8]; Tshape in [DT_INT32]\n device='GPU'; T in [DT_UINT8]; Tshape in [DT_INT32]\n device='GPU'; T in [DT_INT16]; Tshape in [DT_INT32]\n device='GPU'; T in [DT_UINT16]; Tshape in [DT_INT32]\n device='GPU'; T in [DT_INT64]; Tshape in [DT_INT32]\n device='GPU'; T in [DT_DOUBLE]; Tshape in [DT_INT32]\n device='GPU'; T in [DT_FLOAT]; Tshape in [DT_INT32]\n device='GPU'; T in [DT_HALF]; Tshape in [DT_INT32]\n device='CPU'; Tshape in [DT_INT32]\n\n\t [[Node: Reshape_27 = Reshape[T=DT_FLOAT, Tshape=DT_INT64](Placeholder_0:0, Const_26:0)]]"
Process exited with ExitFailure 1: /home/optml/holdenl/tensorflow-haskell/.stack-work/install/x86_64-linux-dkd1ce2ff9c9560b648268df668d177711/lts-6.2/7.10.3/bin/Main
The text was updated successfully, but these errors were encountered:
Looks like a fallout from using Int64 for dimensions. Apparently Reshape is not implemented for Int64 shapes.
We want: [[Node: Reshape_27 = Reshape[T=DT_FLOAT, Tshape=DT_INT64](Placeholder_0:0, Const_26:0)]]"
Yet the only possible match is: device='CPU'; Tshape in [DT_INT32]
I can't get
reshape
to work. In the tensorflow-mnist example (https://github.com/tensorflow/haskell/blob/master/tensorflow-mnist/app/Main.hs) if I replacewith
(which should have no effect because the shape is the same), I get the following error.
The text was updated successfully, but these errors were encountered: