7495a78668fb2321872fde585e4ef2aa6b74ede1,tensorflow_transform/graph_tools_test.py,,_create_graph_with_y_function_of_x_and_untracked_table,#,96

Before Change



def _create_graph_with_y_function_of_x_and_untracked_table():
  filename = tf.compat.v1.placeholder(tf.string, ())
  table = _create_lookup_table_from_file(filename)

  x = tf.compat.v1.placeholder(tf.string, (None,))
  y = table.lookup(x)
  del tf.compat.v1.get_collection_ref(

After Change



def _create_graph_with_y_function_of_x_and_untracked_table():
  filename = tf.compat.v1.placeholder(tf.string, ())
  table = tf.contrib.lookup.index_table_from_file(filename)
  x = tf.compat.v1.placeholder(tf.string, (None,))
  y = table.lookup(x)
  del tf.compat.v1.get_collection_ref(
      tf.compat.v1.GraphKeys.TABLE_INITIALIZERS)[:]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: tensorflow/transform
Commit Name: 7495a78668fb2321872fde585e4ef2aa6b74ede1
Time: 2019-05-31
Author: kestert@google.com
File Name: tensorflow_transform/graph_tools_test.py
Class Name:
Method Name: _create_graph_with_y_function_of_x_and_untracked_table


Project Name: tensorflow/transform
Commit Name: 7495a78668fb2321872fde585e4ef2aa6b74ede1
Time: 2019-05-31
Author: kestert@google.com
File Name: tensorflow_transform/graph_tools_test.py
Class Name:
Method Name: _create_graph_with_y_function_of_x_and_table


Project Name: tensorflow/transform
Commit Name: 7495a78668fb2321872fde585e4ef2aa6b74ede1
Time: 2019-05-31
Author: kestert@google.com
File Name: tensorflow_transform/graph_tools_test.py
Class Name:
Method Name: _create_graph_with_table_initialized_by_table_output


Project Name: tensorflow/transform
Commit Name: 7495a78668fb2321872fde585e4ef2aa6b74ede1
Time: 2019-05-31
Author: kestert@google.com
File Name: tensorflow_transform/graph_tools_test.py
Class Name:
Method Name: _create_graph_with_y_function_of_x_and_table_in_first_phase