1cb07ccf2f2dfa4507a4740d45a639178b148aca,pymanopt/core/problem.py,Problem,ehess,#Problem#,134
Before Change
def ehess(self):
if self._ehess is None:
if self.verbosity >= 1:
print("Computing Hessian of cost function...")
ehess = self.backend.compute_hessian(self._original_cost,
self._arg)
self._ehess = ehess
return self._ehess
After Change
if self._original_ehess is None:
self._ehess = self.cost.compute_hessian()
else:
self._ehess = Function(self._original_ehess, self._arg)
return self._ehess
@property
def hess(self):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: pymanopt/pymanopt
Commit Name: 1cb07ccf2f2dfa4507a4740d45a639178b148aca
Time: 2020-01-26
Author: niklas.koep@gmail.com
File Name: pymanopt/core/problem.py
Class Name: Problem
Method Name: ehess
Project Name: pymanopt/pymanopt
Commit Name: 1cb07ccf2f2dfa4507a4740d45a639178b148aca
Time: 2020-01-26
Author: niklas.koep@gmail.com
File Name: pymanopt/core/problem.py
Class Name: Problem
Method Name: egrad
Project Name: dPys/PyNets
Commit Name: e0c9d018aca7bf05486c385484d5ed1c37bac423
Time: 2018-10-13
Author: dpisner@utexas.edu
File Name: pynets/diffconnectometry.py
Class Name:
Method Name: coreg_WM_mask_to_diff
Project Name: dPys/PyNets
Commit Name: e0c9d018aca7bf05486c385484d5ed1c37bac423
Time: 2018-10-13
Author: dpisner@utexas.edu
File Name: pynets/diffconnectometry.py
Class Name:
Method Name: coreg_mask_to_diff