27187bfff545ef066da5627d7dff8a6caad19e9e,tensorflow_transform/impl_helper_test.py,ImplHelperTest,testImportAndExportDense,#ImplHelperTest#,168

Before Change



  def testImportAndExportDense(self):
    // Export the function "z = x * y + x + y"
    g = tf.Graph()
    with g.as_default():
      x = tf.placeholder(tf.float32, ())
      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()
    with g.as_default():

After Change


        "y": tf.FixedLenFeature((), tf.float32)
    })

    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(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

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: 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


Project Name: googledatalab/pydatalab
Commit Name: 555e7d8f67b8426556aaa40fb0a248de3a40171e
Time: 2017-05-19
Author: brandondutra@google.com
File Name: solutionbox/code_free_ml/mltoolbox/code_free_ml/data/analyze_data.py
Class Name:
Method Name: make_transform_graph