tf.data.experimental.get_model_proto

Gets the analytical model inside of iterator as model_pb2.ModelProto.

iterator An iterator_ops.OwnedIterator or dataset_ops.NumpyIterator

The model inside of this iterator as a model proto.

NotFoundError If this iterator's autotune is not enabled.