MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / __init__

Method __init__

tensorflow/python/data/ops/dataset_ops.py:2101–2103  ·  view source on GitHub ↗
(self, dataset)

Source from the content-addressed store, hash-verified

2099 """Wraps a V2 `Dataset` object in the `tf.compat.v1.data.Dataset` API."""
2100
2101 def __init__(self, dataset):
2102 self._dataset = dataset
2103 super(DatasetV1Adapter, self).__init__()
2104
2105 def _as_variant_tensor(self):
2106 return self._dataset._variant_tensor # pylint: disable=protected-access

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected