Blame SOURCES/sympy-theano-pymc.patch
|
 |
5a83ed |
--- sympy-sympy-1.6.2/sympy/printing/tests/test_theanocode.py.orig 2020-08-07 09:17:07.000000000 -0600
|
|
 |
5a83ed |
+++ sympy-sympy-1.6.2/sympy/printing/tests/test_theanocode.py 2020-11-26 07:36:24.900389599 -0700
|
|
 |
5a83ed |
@@ -350,7 +350,7 @@ def test_theano_function_scalar():
|
|
 |
5a83ed |
f = theano_function_(inputs, outputs, dims=in_dims, scalar=scalar)
|
|
 |
5a83ed |
|
|
 |
5a83ed |
# Check the theano_function attribute is set whether wrapped or not
|
|
 |
5a83ed |
- assert isinstance(f.theano_function, theano.compile.function_module.Function)
|
|
 |
5a83ed |
+ assert isinstance(f.theano_function, theano.compile.function.types.Function)
|
|
 |
5a83ed |
|
|
 |
5a83ed |
# Feed in inputs of the appropriate size and get outputs
|
|
 |
5a83ed |
in_values = [
|
|
 |
5a83ed |
--- sympy-sympy-1.6.2/sympy/printing/theanocode.py.orig 2020-08-07 09:17:07.000000000 -0600
|
|
 |
5a83ed |
+++ sympy-sympy-1.6.2/sympy/printing/theanocode.py 2020-11-26 07:35:55.667441366 -0700
|
|
 |
5a83ed |
@@ -442,7 +442,7 @@ def theano_function(inputs, outputs, sca
|
|
 |
5a83ed |
function will return a list of arrays. See description of the ``squeeze``
|
|
 |
5a83ed |
argument above for the behavior when a single output is passed in a list.
|
|
 |
5a83ed |
The returned object will either be an instance of
|
|
 |
5a83ed |
- ``theano.compile.function_module.Function`` or a Python wrapper
|
|
 |
5a83ed |
+ ``theano.compile.function.types.Function`` or a Python wrapper
|
|
 |
5a83ed |
function around one. In both cases, the returned value will have a
|
|
 |
5a83ed |
``theano_function`` attribute which points to the return value of
|
|
 |
5a83ed |
``theano.function``.
|