0e62d00fd832c443c720a1aed12036bccc22dbc1,kymatio/scattering1d/scattering1d.py,Scattering1D,cpu,#Scattering1D#,253
Before Change
This function prepares the object to accept input Tensors on the CPU.
return self._type(torch.FloatTensor)
def cuda(self):
Move to the GPU
After Change
Mimics the behavior of the function cpu() of a nn.Module()
return self._apply(lambda t: t.cpu())
def meta(self):
Get meta information on the transform
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: kymatio/kymatio
Commit Name: 0e62d00fd832c443c720a1aed12036bccc22dbc1
Time: 2020-01-23
Author: edouard.oyallon@ens.fr
File Name: kymatio/scattering1d/scattering1d.py
Class Name: Scattering1D
Method Name: cpu
Project Name: kymatio/kymatio
Commit Name: 0e62d00fd832c443c720a1aed12036bccc22dbc1
Time: 2020-01-23
Author: edouard.oyallon@ens.fr
File Name: kymatio/scattering1d/scattering1d.py
Class Name: Scattering1D
Method Name: cuda
Project Name: kymatio/kymatio
Commit Name: b9bcbed992f987a4cb30c2840875ade7117d8ee7
Time: 2020-01-23
Author: edouard.oyallon@gmail.com
File Name: kymatio/scattering2d/scattering2d.py
Class Name: Scattering2D
Method Name: cpu
Project Name: kymatio/kymatio
Commit Name: b9bcbed992f987a4cb30c2840875ade7117d8ee7
Time: 2020-01-23
Author: edouard.oyallon@gmail.com
File Name: kymatio/scattering2d/scattering2d.py
Class Name: Scattering2D
Method Name: cuda