|
|
3bcde08 |
--- doc/conf.py.orig 2020-08-07 10:36:02.598421582 -0600
|
|
|
3bcde08 |
+++ doc/conf.py 2020-08-07 10:36:07.583424197 -0600
|
|
|
3bcde08 |
@@ -136,7 +136,7 @@ if os.environ.get('READTHEDOCS') != 'Tru
|
|
|
3bcde08 |
html_theme = 'sphinx_rtd_theme'
|
|
|
3bcde08 |
|
|
|
3bcde08 |
def setup(app):
|
|
|
3bcde08 |
- app.add_stylesheet("fix_rtd.css")
|
|
|
3bcde08 |
+ app.add_css_file("fix_rtd.css")
|
|
|
3bcde08 |
|
|
|
3bcde08 |
# The name for this set of Sphinx documents. If None, it defaults to
|
|
|
3bcde08 |
# "<project> v<release> documentation".
|
|
|
3bcde08 |
--- doc/library/compile/function.txt.orig 2020-07-27 10:09:29.000000000 -0600
|
|
|
3bcde08 |
+++ doc/library/compile/function.txt 2020-08-07 10:36:50.059439759 -0600
|
|
|
3bcde08 |
@@ -212,7 +212,7 @@ Reference
|
|
|
3bcde08 |
givens are different from optimizations in that Var2 is not expected to be
|
|
|
3bcde08 |
equivalent to Var1.
|
|
|
3bcde08 |
|
|
|
3bcde08 |
-.. autofunction:: theano.compile.function.function_dump
|
|
|
3bcde08 |
+.. autofunction:: theano.compile.function_dump
|
|
|
3bcde08 |
|
|
|
3bcde08 |
.. autoclass:: theano.compile.function_module.Function
|
|
|
3bcde08 |
:members: free, copy, __call__
|
|
|
3bcde08 |
--- theano/gof/op.py.orig 2020-07-27 10:09:29.000000000 -0600
|
|
|
3bcde08 |
+++ theano/gof/op.py 2020-08-07 08:25:40.336288579 -0600
|
|
|
6acf609 |
@@ -280,13 +280,13 @@ class CLinkerOp(CLinkerObject):
|
|
|
6acf609 |
string is the name of a C variable pointing to that input.
|
|
|
6acf609 |
The type of the variable depends on the declared type of
|
|
|
6acf609 |
the input. There is a corresponding python variable that
|
|
|
6acf609 |
- can be accessed by prepending "py_" to the name in the
|
|
|
6acf609 |
+ can be accessed by prepending ```"py_"``` to the name in the
|
|
|
6acf609 |
list.
|
|
|
6acf609 |
outputs : list of strings
|
|
|
6acf609 |
Each string is the name of a C variable where the Op should
|
|
|
6acf609 |
store its output. The type depends on the declared type of
|
|
|
6acf609 |
the output. There is a corresponding python variable that
|
|
|
6acf609 |
- can be accessed by prepending "py_" to the name in the
|
|
|
6acf609 |
+ can be accessed by prepending ```"py_"``` to the name in the
|
|
|
6acf609 |
list. In some cases the outputs will be preallocated and
|
|
|
6acf609 |
the value of the variable may be pre-filled. The value for
|
|
|
6acf609 |
an unallocated output is type-dependent.
|
|
|
6acf609 |
@@ -343,13 +343,13 @@ class CLinkerOp(CLinkerObject):
|
|
|
6acf609 |
string is the name of a C variable pointing to that input.
|
|
|
6acf609 |
The type of the variable depends on the declared type of
|
|
|
6acf609 |
the input. There is a corresponding python variable that
|
|
|
6acf609 |
- can be accessed by prepending "py_" to the name in the
|
|
|
6acf609 |
+ can be accessed by prepending ```"py_"``` to the name in the
|
|
|
6acf609 |
list.
|
|
|
6acf609 |
outputs : list of strings
|
|
|
6acf609 |
Each string is the name of a C variable correspoinding to
|
|
|
6acf609 |
one of the outputs of the Op. The type depends on the
|
|
|
6acf609 |
declared type of the output. There is a corresponding
|
|
|
6acf609 |
- python variable that can be accessed by prepending "py_" to
|
|
|
6acf609 |
+ python variable that can be accessed by prepending ```"py_"``` to
|
|
|
6acf609 |
the name in the list.
|
|
|
6acf609 |
sub : dict of strings
|
|
|
6acf609 |
extra symbols defined in `CLinker` sub symbols (such as 'fail').
|
|
|
6acf609 |
@@ -784,7 +784,7 @@ class PureOp(object):
|
|
|
6acf609 |
folded when all its inputs are constant. This allows it to
|
|
|
6acf609 |
choose where it puts its memory/speed trade-off. Also, it
|
|
|
6acf609 |
could make things faster as constants can't be used for inplace
|
|
|
6acf609 |
- operations (see *IncSubtensor).
|
|
|
6acf609 |
+ operations (see *IncSubtensor*).
|
|
|
6acf609 |
|
|
|
6acf609 |
"""
|
|
|
6acf609 |
return True
|
|
|
3bcde08 |
--- theano/gof/opt.py.orig 2020-07-27 10:09:29.000000000 -0600
|
|
|
3bcde08 |
+++ theano/gof/opt.py 2020-08-07 08:25:40.338288578 -0600
|
|
|
6acf609 |
@@ -112,9 +112,9 @@ class Optimizer(object):
|
|
|
6acf609 |
|
|
|
6acf609 |
Add features to the fgraph that are required to apply the optimization.
|
|
|
6acf609 |
For example:
|
|
|
6acf609 |
- fgraph.attach_feature(History())
|
|
|
6acf609 |
- fgraph.attach_feature(MyFeature())
|
|
|
6acf609 |
- etc.
|
|
|
6acf609 |
+ fgraph.attach_feature(History())
|
|
|
6acf609 |
+ fgraph.attach_feature(MyFeature())
|
|
|
6acf609 |
+ etc.
|
|
|
6acf609 |
|
|
|
6acf609 |
"""
|
|
|
6acf609 |
pass
|
|
|
3bcde08 |
--- theano/gpuarray/fft.py.orig 2020-07-27 10:09:29.000000000 -0600
|
|
|
3bcde08 |
+++ theano/gpuarray/fft.py 2020-08-07 08:25:40.338288578 -0600
|
|
|
6acf609 |
@@ -283,7 +283,7 @@ cuirfft_op = CuIRFFTOp()
|
|
|
6acf609 |
|
|
|
6acf609 |
|
|
|
6acf609 |
def curfft(inp, norm=None):
|
|
|
6acf609 |
- """
|
|
|
6acf609 |
+ r"""
|
|
|
6acf609 |
Performs the fast Fourier transform of a real-valued input on the GPU.
|
|
|
6acf609 |
|
|
|
6acf609 |
The input must be a real-valued float32 variable of dimensions (m, ..., n).
|
|
|
6acf609 |
@@ -317,7 +317,7 @@ def curfft(inp, norm=None):
|
|
|
6acf609 |
|
|
|
6acf609 |
|
|
|
6acf609 |
def cuirfft(inp, norm=None, is_odd=False):
|
|
|
6acf609 |
- """
|
|
|
6acf609 |
+ r"""
|
|
|
6acf609 |
Performs the inverse fast Fourier Transform with real-valued output on the GPU.
|
|
|
6acf609 |
|
|
|
6acf609 |
The input is a variable of dimensions (m, ..., n//2+1, 2) with
|
|
|
3bcde08 |
--- theano/sandbox/linalg/ops.py.orig 2020-07-27 10:09:29.000000000 -0600
|
|
|
3bcde08 |
+++ theano/sandbox/linalg/ops.py 2020-08-07 08:25:40.338288578 -0600
|
|
|
6acf609 |
@@ -199,7 +199,7 @@ theano.compile.mode.optdb.register('Hint
|
|
|
6acf609 |
|
|
|
6acf609 |
|
|
|
6acf609 |
def psd(v):
|
|
|
6acf609 |
- """
|
|
|
6acf609 |
+ r"""
|
|
|
6acf609 |
Apply a hint that the variable `v` is positive semi-definite, i.e.
|
|
|
6acf609 |
it is a symmetric matrix and :math:`x^T A x \ge 0` for any vector x.
|
|
|
6acf609 |
|
|
|
3bcde08 |
--- theano/sparse/basic.py.orig 2020-07-27 10:09:29.000000000 -0600
|
|
|
3bcde08 |
+++ theano/sparse/basic.py 2020-08-07 08:25:40.338288578 -0600
|
|
|
6acf609 |
@@ -4219,9 +4219,9 @@ class ConstructSparseFromList(gof.Op):
|
|
|
6acf609 |
This create a sparse matrix with the same shape as `x`. Its
|
|
|
6acf609 |
values are the rows of `values` moved. Pseudo-code::
|
|
|
6acf609 |
|
|
|
6acf609 |
- output = csc_matrix.zeros_like(x, dtype=values.dtype)
|
|
|
6acf609 |
- for in_idx, out_idx in enumerate(ilist):
|
|
|
6acf609 |
- output[out_idx] = values[in_idx]
|
|
|
6acf609 |
+ output = csc_matrix.zeros_like(x, dtype=values.dtype)
|
|
|
6acf609 |
+ for in_idx, out_idx in enumerate(ilist):
|
|
|
6acf609 |
+ output[out_idx] = values[in_idx]
|
|
|
6acf609 |
|
|
|
6acf609 |
"""
|
|
|
6acf609 |
x_ = theano.tensor.as_tensor_variable(x)
|
|
|
3bcde08 |
--- theano/tensor/fft.py.orig 2020-07-27 10:09:29.000000000 -0600
|
|
|
3bcde08 |
+++ theano/tensor/fft.py 2020-08-07 08:25:40.338288578 -0600
|
|
|
6acf609 |
@@ -117,7 +117,7 @@ irfft_op = IRFFTOp()
|
|
|
6acf609 |
|
|
|
6acf609 |
|
|
|
6acf609 |
def rfft(inp, norm=None):
|
|
|
6acf609 |
- """
|
|
|
6acf609 |
+ r"""
|
|
|
6acf609 |
Performs the fast Fourier transform of a real-valued input.
|
|
|
6acf609 |
|
|
|
6acf609 |
The input must be a real-valued variable of dimensions (m, ..., n).
|
|
|
6acf609 |
@@ -151,7 +151,7 @@ def rfft(inp, norm=None):
|
|
|
6acf609 |
|
|
|
6acf609 |
|
|
|
6acf609 |
def irfft(inp, norm=None, is_odd=False):
|
|
|
6acf609 |
- """
|
|
|
6acf609 |
+ r"""
|
|
|
6acf609 |
Performs the inverse fast Fourier Transform with real-valued output.
|
|
|
6acf609 |
|
|
|
6acf609 |
The input is a variable of dimensions (m, ..., n//2+1, 2)
|
|
|
3bcde08 |
--- theano/tensor/nnet/neighbours.py.orig 2020-07-27 10:09:29.000000000 -0600
|
|
|
3bcde08 |
+++ theano/tensor/nnet/neighbours.py 2020-08-07 08:25:40.339288577 -0600
|
|
|
6acf609 |
@@ -618,7 +618,7 @@ class Images2Neibs(Op):
|
|
|
6acf609 |
|
|
|
6acf609 |
|
|
|
6acf609 |
def images2neibs(ten4, neib_shape, neib_step=None, mode='valid'):
|
|
|
6acf609 |
- """
|
|
|
6acf609 |
+ r"""
|
|
|
6acf609 |
Function :func:`images2neibs <theano.tensor.nnet.neighbours.images2neibs>`
|
|
|
6acf609 |
allows to apply a sliding window operation to a tensor containing
|
|
|
6acf609 |
images or other two-dimensional objects.
|
|
|
3bcde08 |
--- theano/tensor/slinalg.py.orig 2020-07-27 10:09:29.000000000 -0600
|
|
|
3bcde08 |
+++ theano/tensor/slinalg.py 2020-08-07 08:25:53.365279398 -0600
|
|
|
3bcde08 |
@@ -267,7 +267,7 @@ class Solve(Op):
|
|
|
6acf609 |
|
|
|
6acf609 |
def L_op(self, inputs, outputs, output_gradients):
|
|
|
3bcde08 |
"""
|
|
|
3bcde08 |
- Reverse-mode gradient updates for matrix solve operation c = A \\\ b.
|
|
|
3bcde08 |
+ Reverse-mode gradient updates for matrix solve operation c = A \\\\ b.
|
|
|
6acf609 |
|
|
|
6acf609 |
Symbolic expression for updates taken from [#]_.
|
|
|
6acf609 |
|
|
|
3bcde08 |
--- versioneer.py.orig 2020-07-27 10:09:29.000000000 -0600
|
|
|
3bcde08 |
+++ versioneer.py 2020-08-07 08:25:40.339288577 -0600
|
|
|
6acf609 |
@@ -418,7 +418,7 @@ def run_command(commands, args, cwd=None
|
|
|
6acf609 |
return stdout, p.returncode
|
|
|
6acf609 |
|
|
|
6acf609 |
|
|
|
6acf609 |
-LONG_VERSION_PY['git'] = '''
|
|
|
6acf609 |
+LONG_VERSION_PY['git'] = r'''
|
|
|
6acf609 |
# This file helps to compute a version number in source trees obtained from
|
|
|
6acf609 |
# git-archive tarball (such as those provided by githubs download-from-tag
|
|
|
6acf609 |
# feature). Distribution tarballs (built by setup.py sdist) and build
|