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