ab407cc0693a076bea714a765d9881cc6cb75413,ops.py,,tt_dense_matmul,#Any#Any#,119

Before Change


  // data is (K, j0, ..., jd-2) x jd-1 x 1
  data = tf.transpose(matrix_b)
  data = tf.reshape(data, (-1, a_raw_shape[1][-1], 1))
  for core_idx in range(ndims - 1, -1, -1):
    curr_core = tt_matrix_a.tt_cores[core_idx]
    // On the k = core_idx iteration, after applying einsum the shape of data
    // becomes ik x (ik-1..., id-1, K, j0, ..., jk-1) x rank_k

After Change


  // data is (K, j0, ..., jd-2) x jd-1 x 1
  data = tf.transpose(matrix_b)
  data = tf.reshape(data, (-1, a_raw_shape[1][-1], 1))
  for core_idx in reversed(range(ndims)):
    curr_core = tt_matrix_a.tt_cores[core_idx]
    // On the k = core_idx iteration, after applying einsum the shape of data
    // becomes ik x (ik-1..., id-1, K, j0, ..., jk-1) x rank_k
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: Bihaqo/t3f
Commit Name: ab407cc0693a076bea714a765d9881cc6cb75413
Time: 2017-03-06
Author: novikov@bayesgroup.ru
File Name: ops.py
Class Name:
Method Name: tt_dense_matmul


Project Name: cornellius-gp/gpytorch
Commit Name: 3879bcde8d42c619c96b6483dba14a76a8e5f00b
Time: 2019-09-29
Author: kaw293@cornell.edu
File Name: gpytorch/utils/grid.py
Class Name:
Method Name: create_data_from_grid


Project Name: kengz/SLM-Lab
Commit Name: da0abf792fdc2ca0c62b43ae59961e9b64db59ca
Time: 2019-04-28
Author: kengzwl@gmail.com
File Name: slm_lab/lib/math_util.py
Class Name:
Method Name: calc_nstep_returns