204b4cad88ff526006e2fa2c6604c35902cf5aef,tensorflow_transform/analyzers.py,_QuantilesCombinerSpec,add_input,#_QuantilesCombinerSpec#Any#Any#,723

Before Change


    // to (1,?).
    flattened_input = np.reshape(next_input[0], newshape=(1, -1))

    with self._session.graph.as_default():
      update = self._qaccumulator.add_summary(
          stamp_token=self._stamp_token,
          column=flattened_input,
          // All weights are equal, and the weight vector is the
          // same length as the input.
          example_weights=np.ones_like(flattened_input))

      if summary is not self._empty_summary:
        self._session.run(
            self._qaccumulator.add_prebuilt_summary(
                stamp_token=self._stamp_token,
                summary=tf.constant(summary)))

      self._session.run(update)

After Change



    self._session.run(
        self._add_summary_op,
        feed_dict={self._add_summary_input: flattened_input})

    // After the flush_summary, qaccumulator will not contain any
    // uncommitted information that represents the input. Instead all the
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: tensorflow/transform
Commit Name: 204b4cad88ff526006e2fa2c6604c35902cf5aef
Time: 2018-05-15
Author: tf-transform-dev@google.com
File Name: tensorflow_transform/analyzers.py
Class Name: _QuantilesCombinerSpec
Method Name: add_input


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: 204b4cad88ff526006e2fa2c6604c35902cf5aef
Time: 2018-05-15
Author: tf-transform-dev@google.com
File Name: tensorflow_transform/analyzers.py
Class Name: _QuantilesCombinerSpec
Method Name: extract_output