Commit e2b36c50 authored by Derek Murray's avatar Derek Murray Committed by TensorFlower Gardener
Browse files

[tf.data] Remove `Dataset.make_one_shot_iterator()` from the V2 API.

Add `tf.compat.v1.data.make_one_shot_iterator(dataset)` to enable the use of V2
`Dataset` objects in a legacy V1 pipeline.

PiperOrigin-RevId: 223896743
parent 81eaf1d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment