5430a7b4e95b88e8807c8a1a34059c76522791b6,keras/backend/tensorflow_backend.py,,eye,#Any#Any#Any#,959
Before Change
n, m = size, size
with tf_ops.init_scope():
v = tf.eye(n, m, dtype=dtype, name=name)
if py_all(v.shape.as_list() ):
return variable(v, dtype=dtype, name=name)
return v
After Change
else:
n, m = size, size
with tf_ops.init_scope():
return tf.eye(n, m, dtype=dtype, name=name)
@symbolic
def zeros_like(x, dtype=None, name=None):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: keras-team/keras
Commit Name: 5430a7b4e95b88e8807c8a1a34059c76522791b6
Time: 2019-05-22
Author: francois.chollet@gmail.com
File Name: keras/backend/tensorflow_backend.py
Class Name:
Method Name: eye
Project Name: GPflow/GPflow
Commit Name: 5809cb0b339612434f4f332a91a2cd3e4570c34d
Time: 2018-02-26
Author: james@prowler.io
File Name: gpflow/transforms.py
Class Name: LowerTriangular
Method Name: backward_tensor
Project Name: GPflow/GPflow
Commit Name: c1d9de30ac38adcf0d3400a805af03d7f8ec1d9f
Time: 2018-01-02
Author: art.art.v@gmail.com
File Name: gpflow/transforms.py
Class Name: LowerTriangular
Method Name: backward_tensor