312bd4d73a175079af9bde2cf46a4c187232d14e,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)
gr = D * s
if s.dtype == "float32":
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 6
Instances
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
Project Name: arviz-devs/arviz
Commit Name: 9987acb150e662a9088a09ea41d711f113e12b5c
Time: 2020-01-19
Author: rpgoldman@goldman-tribe.org
File Name: arviz/data/io_pymc3.py
Class Name: PyMC3Converter
Method Name: __init__
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: e0d4fbab77127efdfbafb340feddce7b7f42063a
Time: 2019-06-15
Author: beat.buesser@ie.ibm.com
File Name: art/defences/thermometer_encoding.py
Class Name: ThermometerEncoding
Method Name: set_params
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