Open pedrogalher opened 3 years ago
I don't fully understand the following operations to extract the indexes "y" and "x" form the agmax tensor. Could you elaborate a little on how did you get the following expressions?:
y = mask // (output_shape[2] * output_shape[3])
x = (mask // output_shape[3]) % output_shape[2]
Thank you very much Pedro
I don't fully understand the following operations to extract the indexes "y" and "x" form the agmax tensor. Could you elaborate a little on how did you get the following expressions?:
y = mask // (output_shape[2] * output_shape[3])
x = (mask // output_shape[3]) % output_shape[2]
Thank you very much Pedro