I was wondering how to make a 5D tensor in Theano.
Specifically, I tried dtensor = T.TensorType('float32', (False,)*5)
. However, the only issue is that dtensor.shape
returns: AttributeError: 'TensorType' object has no attribute 'shape'
Whereas if I used a standard tensor type likedtensor = T.tensor3('float32')
, I don't get this issue when I call dtensor.shape.
Is there a way to have this not be an issue with a 5D tensor in Theano?