Skip to content

Commit

Permalink
Using the proper pipeline object for telemetry.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 441318280
  • Loading branch information
iindyk authored and tfx-copybara committed Apr 12, 2022
1 parent 0c3e662 commit 2ac89ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tensorflow_transform/beam/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1081,8 +1081,8 @@ def expand(self, dataset):

# Gather telemetry on types of input features.
_ = (
self.pipeline | 'CreateAnalyzeInputTensorRepresentations' >>
beam.Create([input_tensor_adapter_config.tensor_representations])
pipeline | 'CreateAnalyzeInputTensorRepresentations' >> beam.Create(
[input_tensor_adapter_config.tensor_representations])
|
'InstrumentAnalyzeInputTensors' >> telemetry.TrackTensorRepresentations(
telemetry_util.AppendToNamespace(beam_common.METRICS_NAMESPACE,
Expand Down

0 comments on commit 2ac89ab

Please sign in to comment.