Skip to content

Commit 468f14b

Browse files
committed
Add tensor vectorize to docs
1 parent 5351abf commit 468f14b

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

doc/library/tensor/functional.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.. automodule:: pytensor.tensor.functional
2+
:members: vectorize

doc/library/tensor/index.rst

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
.. _libdoc_tensor:
22

3-
==================================================
4-
:mod:`tensor` -- Types and Ops for Symbolic numpy
5-
==================================================
3+
===============================================
4+
:mod:`tensor` -- Tensor operations in PyTensor
5+
===============================================
66

77
.. module:: tensor
8-
:platform: Unix, Windows
9-
:synopsis: symbolic types and operations for n-dimensional arrays.
10-
.. moduleauthor:: LISA
118

12-
Theano's strength is in expressing symbolic calculations involving tensors.
13-
There are many types of symbolic expressions for tensors.
14-
They are grouped into the following sections:
9+
PyTensor's strength is in expressing symbolic calculations involving tensors.
10+
11+
PyTensor tries to emulate the numpy interface as much as possible in the tensor module.
12+
This means that once TensorVariables are created, it should be possibly to define
13+
symbolic expressions using calls that look just like numpy calls, such as
14+
`pt.exp(x).transpose(0, 1)[:, None]`
15+
1516

1617

1718
.. toctree::
@@ -29,3 +30,4 @@ They are grouped into the following sections:
2930
conv
3031
math_opt
3132
basic_opt
33+
functional

0 commit comments

Comments
 (0)