b37fdf43bd950c4872d8ea39975d98a1b5d75866,kymatio/scattering2d/backend/backend_torch.py,,cdgmm,#Any#Any#Any#,161
Before Change
output tensor of size (B, C, M, N, 2) such that:
C[b, c, m, n, :] = A[b, c, m, n, :] * B[m, n, :]
A, B = A.contiguous() , B.contiguous()
if A.size()[-3:] != B.size():
raise RuntimeError("The filters are not compatible for multiplication!")
After Change
"dimension of size 1 or 2 to indicate it is real "
"or complex, respectively")
if not iscomplex(B) and not isreal(B):
raise TypeError("The filter must be complex or real, indicated by a "
"last dimension of size 2 or 1, respectively")
if A.size()[-3:-1] != B.size()[-3:-1]:
raise RuntimeError("The filters are not compatible for multiplication!")
if A.dtype is not B.dtype:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: kymatio/kymatio
Commit Name: b37fdf43bd950c4872d8ea39975d98a1b5d75866
Time: 2019-03-02
Author: github@jan-schlueter.de
File Name: kymatio/scattering2d/backend/backend_torch.py
Class Name:
Method Name: cdgmm
Project Name: kymatio/kymatio
Commit Name: d4102be9821888dfbabc6b9c27e2cbc78944c5f3
Time: 2020-02-18
Author: janden@flatironinstitute.org
File Name: kymatio/scattering2d/backend/torch_backend.py
Class Name:
Method Name: cdgmm
Project Name: arraiy/torchgeometry
Commit Name: a606a68ff74ed2b2e35f7079a1570310655e4e6d
Time: 2019-03-04
Author: edgar.riba@gmail.com
File Name: torchgeometry/core/depth_warper.py
Class Name: DepthWarper
Method Name: compute_projection_matrix