make ndarray 'tensor' object has no attribute 'tensor_shape' code example
Example: AttributeError: 'Tensor' object has no attribute 'get_shape'
#you can now use .shape instead of get_shape()
myTensor.shape
#you can now use .shape instead of get_shape()
myTensor.shape