transpose op code behavior mismatch with comments in xla #50662
Labels
comp:xla
XLA
stat:awaiting tensorflower
Status - Awaiting response from tensorflower
TF 1.15
for issues seen on TF 1.15
type:bug
Bug
tensorflow 1.15.5
https://github.com/tensorflow/tensorflow/blob/v1.15.5/tensorflow/compiler/xla/service/shape_inference.cc#L2740
https://github.com/tensorflow/tensorflow/blob/v1.15.5/tensorflow/compiler/xla/util.h#L340
my question is
accoding to the comments, if using inverse permutation, we should use output[i]=input[dimensions[i]].
but, code still use output[dimensions[i]]=input[i].
seems like a bug or mismatch?
I checked latest code, this is still there, but inverse moved to other place.
so I used 1.15.5, as the inverse code is together with permute.
BR.
Mingting
The text was updated successfully, but these errors were encountered: