204b4cad88ff526006e2fa2c6604c35902cf5aef,tensorflow_transform/beam/impl.py,AnalyzeDataset,_extract_input_pvalues,#AnalyzeDataset#Any#,717
Before Change
def _extract_input_pvalues(self, dataset):
data, metadata = dataset
pvalues = [data] + getattr(metadata, "pcollections", {}).values()
return dataset, pvalues
def expand(self, dataset):
Analyze the dataset.
After Change
def _extract_input_pvalues(self, dataset):
data, metadata = dataset
pvalues = [data]
if isinstance(metadata, beam_metadata_io.BeamDatasetMetadata):
pvalues.append(metadata.deferred_metadata)
return dataset, pvalues
def expand(self, dataset):
Analyze the dataset.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 12
Instances
Project Name: tensorflow/transform
Commit Name: 204b4cad88ff526006e2fa2c6604c35902cf5aef
Time: 2018-05-15
Author: tf-transform-dev@google.com
File Name: tensorflow_transform/beam/impl.py
Class Name: AnalyzeDataset
Method Name: _extract_input_pvalues
Project Name: tensorflow/transform
Commit Name: 204b4cad88ff526006e2fa2c6604c35902cf5aef
Time: 2018-05-15
Author: tf-transform-dev@google.com
File Name: tensorflow_transform/beam/tft_beam_io/transform_fn_io.py
Class Name: WriteTransformFn
Method Name: _extract_input_pvalues
Project Name: tensorflow/transform
Commit Name: 204b4cad88ff526006e2fa2c6604c35902cf5aef
Time: 2018-05-15
Author: tf-transform-dev@google.com
File Name: tensorflow_transform/beam/impl.py
Class Name: AnalyzeAndTransformDataset
Method Name: _extract_input_pvalues