### Description ```python 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,)`