c63d4351c7752a769cdc9a1bfcf79ffd140e0e6a,onnx_tf/handlers/backend/unpool_mixin.py,UnpoolMixin,_unpool,#Any#Any#Any#Any#Any#,126
Before Change
batch_range = tf.reshape(
tf.range(tf.cast(output_shape[0], tf.int64), dtype=ind.dtype),
shape=[input_shape[0], 1, 1, 1])
b = tf.ones_like(ind) * batch_range
b1 = tf.reshape(b, [flat_input_size, 1])
ind_ = tf.reshape(ind, [flat_input_size, 1])
ind_ = tf.concat([b1, ind_], 1)
ret = tf.scatter_nd(
After Change
input_shape = tf.shape(pool)
flat_input_size = tf.reduce_prod(input_shape)
flat_output_shape = [tf.reduce_prod(output_shape)]
pool_ = tf.reshape(pool, [flat_input_size])
ind_ = tf.reshape(ind, [flat_input_size, 1])
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: onnx/onnx-tensorflow
Commit Name: c63d4351c7752a769cdc9a1bfcf79ffd140e0e6a
Time: 2020-10-29
Author: wtsang@us.ibm.com
File Name: onnx_tf/handlers/backend/unpool_mixin.py
Class Name: UnpoolMixin
Method Name: _unpool
Project Name: dmlc/gluon-nlp
Commit Name: 1f9ad444b5dee8b2562b7bfa1cf9f576fa32a347
Time: 2020-07-31
Author: 37728728+ZheyuYe@users.noreply.github.com
File Name: src/gluonnlp/op.py
Class Name:
Method Name: updated_vectors_by_position
Project Name: keras-team/keras
Commit Name: 6a8815de0cec97480e2f0ce4769ceaf1121274bd
Time: 2016-07-27
Author: pradeep.dasigi@gmail.com
File Name: keras/engine/topology.py
Class Name: Merge
Method Name: compute_mask