I have a tensor with INT datatype that I need to convert into a tensor of floats.
I can’t find any method allowing me to do that in the documentation… am I missing something?
I have a tensor with INT datatype that I need to convert into a tensor of floats.
I can’t find any method allowing me to do that in the documentation… am I missing something?
INDArray.castTo
is what you are looking for.