618c1cac7908e5aa61fd95e0d1c6c1f31a2db95d,pymanopt/core/problem.py,Problem,backend,#Problem#,75
Before Change
self._arg):
self._backend = backend_autograd
if self._backend is None:
raise ValueError(
"Cannot identify an autodiff backend from cost "
"function that also was successfully imported. "
"TheanoBackend was%s successfully imported. " %
("" if backend_theano.is_available() else " not") +
"AutogradBackend was%s successfully imported. " %
("" if backend_autograd.is_available() else " not")
)
return self._backend
@property
def cost(self):
After Change
break
else:
backend_names = [backend.name for backend in self._backends]
raise ValueError(
"Cannot determine autodiff backend from cost function. "
"Available backends are: {:s}".format(
", ".join(backend_names)))
return self._backend
@property
def cost(self):

In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: pymanopt/pymanopt
Commit Name: 618c1cac7908e5aa61fd95e0d1c6c1f31a2db95d
Time: 2016-02-19
Author: niklas.koep@gmail.com
File Name: pymanopt/core/problem.py
Class Name: Problem
Method Name: backend
Project Name: tyarkoni/pliers
Commit Name: 2e72671b414efc9da2d6bb713bc90dc4a194fb63
Time: 2017-03-06
Author: delavega@utexas.edu
File Name: pliers/extractors/api.py
Class Name: IndicoAPIExtractor
Method Name: __init__
Project Name: tyarkoni/pliers
Commit Name: 9b4586ce59176cafce433b315feffb1ff60b7722
Time: 2017-03-08
Author: delavega@utexas.edu
File Name: pliers/extractors/api.py
Class Name: IndicoAPIExtractor
Method Name: __init__