27187bfff545ef066da5627d7dff8a6caad19e9e,tensorflow_transform/impl_helper_test.py,ImplHelperTest,testImportAndExportDense,#ImplHelperTest#,168
Before Change
y = tf.placeholder(tf.float32, ())
z = x * y + x + y
transform_fn_def = impl_helper.make_transform_fn_def(
g, {"x": x, "y": y} , {"z": z})
// Import the function, applying it to constants for x and y.
g = tf.Graph()
After Change
inputs, outputs = impl_helper.run_preprocessing_fn(
preprocessing_fn, input_schema)
saved_model_dir = os.path.join(self.get_temp_dir(), "dense")
_ = impl_helper.make_transform_fn_def(
input_schema, inputs, outputs, saved_model_dir)
// Import the function, applying it to constants for x and y.
g = tf.Graph()
with g.as_default():
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances Project Name: tensorflow/transform
Commit Name: 27187bfff545ef066da5627d7dff8a6caad19e9e
Time: 2017-02-16
Author: no-reply@google.com
File Name: tensorflow_transform/impl_helper_test.py
Class Name: ImplHelperTest
Method Name: testImportAndExportDense
Project Name: OpenNMT/OpenNMT-tf
Commit Name: 6d1e945df70d23370a022852a1fa211655244f93
Time: 2019-02-13
Author: guillaumekln@users.noreply.github.com
File Name: opennmt/tests/inputter_test.py
Class Name: InputterTest
Method Name: testWordEmbedderWithTokenizer
Project Name: tensorflow/transform
Commit Name: 27187bfff545ef066da5627d7dff8a6caad19e9e
Time: 2017-02-16
Author: no-reply@google.com
File Name: tensorflow_transform/impl_helper_test.py
Class Name: ImplHelperTest
Method Name: testImportAndExportSparse