image.png772×671 15.5 KB

apparently it only works if I EXPLICITLY cast the data type for the float tensor to in32, and the datatype for the long tensor to int16, and int16 is to small for my purpose, it makes the value go into overflow. what is going on?