We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
get_vector_length
import pytensor import pytensor.tensor as pt pt.get_vector_length(pytensor.shared(np.zeros(3,))) # 3
It should raise because the variable has type.shape=(None,)
type.shape=(None,)