1a1bff6666ae5d92529da4b2346fa54baebacbce,pygsp/operators/operator.py,,grad,#Any#Any#,45
Before Change
Gradient living on the edges
if hasattr(G, "lap_type"):
if G.lap_type == "combinatorial":
raise NotImplementedError("Not implemented yet. However ask Nathanael it is very easy.")
D = grad_mat(G)
gr = D * s
if s.dtype == "float32":
After Change
Gradient living on the edges
if G.N != np.shape(s)[0]:
raise ValueError("Signal size is different from the number of nodes.")
D = grad_mat(G)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: epfl-lts2/pygsp
Commit Name: 1a1bff6666ae5d92529da4b2346fa54baebacbce
Time: 2017-06-21
Author: rodrigo.pena@epfl.ch
File Name: pygsp/operators/operator.py
Class Name:
Method Name: grad
Project Name: GPflow/GPflow
Commit Name: d1ac7b831ad36cd0e4bdd7980819f83208345148
Time: 2018-02-07
Author: alex.ialongo@gmail.com
File Name: gpflow/expectations.py
Class Name:
Method Name: _expectation
Project Name: epfl-lts2/pygsp
Commit Name: 312bd4d73a175079af9bde2cf46a4c187232d14e
Time: 2017-05-18
Author: rodrigo.pena@epfl.ch
File Name: pygsp/operators/operator.py
Class Name:
Method Name: grad