6a455db8f33ceefa0f8c544dc427ba6402f85588,gpflow/kernels/statics.py,Constant,K,#Constant#Any#Any#Any#,53
Before Change
if X2 is None:
shape = tf.stack([X.shape[0], X.shape[0]])
else:
shape = tf.stack([X.shape[0], X2.shape[0]])
return tf.fill(shape, tf.squeeze(self.variance))
After Change
if X2 is None:
shape = [tf.shape(X)[0], tf.shape(X)[0]]
else:
shape = [tf.shape(X)[0], tf.shape(X2)[0]]
return tf.fill(shape, tf.squeeze(self.variance))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: GPflow/GPflow
Commit Name: 6a455db8f33ceefa0f8c544dc427ba6402f85588
Time: 2020-01-07
Author: st--@users.noreply.github.com
File Name: gpflow/kernels/statics.py
Class Name: Constant
Method Name: K
Project Name: deepmipt/DeepPavlov
Commit Name: d4a7e38d4047f17d494f0f4cf473609e05cecb72
Time: 2018-08-27
Author: yurakuratov@gmail.com
File Name: deeppavlov/core/layers/tf_layers.py
Class Name:
Method Name: cudnn_compatible_lstm
Project Name: GPflow/GPflow
Commit Name: 539c105dbada796b1e9509095b7d38fc697e2c13
Time: 2019-04-18
Author: art.art.v@gmail.com
File Name: gpflow/kernels/misc.py
Class Name: Periodic
Method Name: K_diag