xla
fix a bug in tensor.flatten
#8680
Merged

Loading