775bf75f5a28c56d333fb57f34c4926498ab19be,pymanopt/autodiff/backends/_theano.py,_TheanoBackend,compile_function,#_TheanoBackend#Any#Any#,37

Before Change


            flattened_arguments, function)
        if len(flattened_arguments) == 1:
            return compiled_function
        return unpack_arguments(compiled_function)

    @Backend._assert_backend_available
    def compute_gradient(self, function, arguments):
        Returns a compiled function computing the gradient of `function`

After Change


    @Backend._assert_backend_available
    def compile_function(self, function, arguments):
        Compiles a Theano graph into a callable.
        return self._compile_function_without_warnings(arguments, function)

    @Backend._assert_backend_available
    def compute_gradient(self, function, arguments):
        Returns a compiled function computing the gradient of ``function``
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pymanopt/pymanopt
Commit Name: 775bf75f5a28c56d333fb57f34c4926498ab19be
Time: 2020-02-01
Author: niklas.koep@gmail.com
File Name: pymanopt/autodiff/backends/_theano.py
Class Name: _TheanoBackend
Method Name: compile_function


Project Name: pymanopt/pymanopt
Commit Name: eac38dbe9694bdfa6c2050528d8cc6a64747e933
Time: 2020-02-01
Author: niklas.koep@gmail.com
File Name: pymanopt/autodiff/backends/_autograd.py
Class Name: _AutogradBackend
Method Name: compute_gradient


Project Name: pymanopt/pymanopt
Commit Name: 775bf75f5a28c56d333fb57f34c4926498ab19be
Time: 2020-02-01
Author: niklas.koep@gmail.com
File Name: pymanopt/autodiff/backends/_theano.py
Class Name: _TheanoBackend
Method Name: compute_gradient