diff --git a/doc/reference/tensor/create.rst b/doc/reference/tensor/create.rst index af84c9c8ea..4688cfb322 100644 --- a/doc/reference/tensor/create.rst +++ b/doc/reference/tensor/create.rst @@ -16,8 +16,7 @@ for a 0-dimensional `ndarray` of integers with the name ``'myvar'``: >>> x = at.scalar('myvar', dtype='int32') >>> x = at.iscalar('myvar') >>> x = at.tensor(dtype='int32', shape=(), name='myvar') ->>> from aesara.tensor.type import TensorType ->>> x = TensorType(dtype='int32', shape=())('myvar') +>>> x = at.TensorType(dtype='int32', shape=())('myvar') Basic constructors ------------------