29f7321b64ada5e66ff4ba8e4c9d0a44fed241f4,t3f/riemannian.py,,project_matmul,#Any#Any#Any#,348

Before Change


                     (where.get_raw_shape(),
                      what.get_raw_shape()))

  if not where.dtype.is_compatible_with(what.dtype):
    raise ValueError("Dtypes of the arguments should coincide, got %s and %s." %
                     (where.dtype,
                      what.dtype))

After Change


                     (where.get_raw_shape(),
                      what.get_raw_shape()))

  dtypes_compatible = (where.dtype.is_compatible_with(what.dtype) or
                       what.dtype.is_compatible_with(where.dtype))
  if not dtypes_compatible:
    raise ValueError("Dtypes of the arguments should coincide, got %s and %s." %
                     (where.dtype,
                      what.dtype))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: Bihaqo/t3f
Commit Name: 29f7321b64ada5e66ff4ba8e4c9d0a44fed241f4
Time: 2018-01-04
Author: khrulkov.v@gmail.com
File Name: t3f/riemannian.py
Class Name:
Method Name: project_matmul


Project Name: Bihaqo/t3f
Commit Name: 29f7321b64ada5e66ff4ba8e4c9d0a44fed241f4
Time: 2018-01-04
Author: khrulkov.v@gmail.com
File Name: t3f/riemannian.py
Class Name:
Method Name: project


Project Name: Bihaqo/t3f
Commit Name: 29f7321b64ada5e66ff4ba8e4c9d0a44fed241f4
Time: 2018-01-04
Author: khrulkov.v@gmail.com
File Name: t3f/riemannian.py
Class Name:
Method Name: project_sum