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

Method _as_variant_tensor

tensorflow/python/data/ops/dataset_ops.py:1682–1688  ·  view source on GitHub ↗

Creates a scalar `tf.Tensor` of `tf.variant` representing this dataset. Returns: A scalar `tf.Tensor` of `tf.variant` type, which represents this dataset.

(self)

Source from the content-addressed store, hash-verified

1680
1681 @abc.abstractmethod
1682 def _as_variant_tensor(self):
1683 """Creates a scalar `tf.Tensor` of `tf.variant` representing this dataset.
1684
1685 Returns:
1686 A scalar `tf.Tensor` of `tf.variant` type, which represents this dataset.
1687 """
1688 raise NotImplementedError("Dataset._as_variant_tensor")
1689
1690 @deprecation.deprecated(
1691 None, "Use `for ... in dataset:` to iterate over a dataset. If using "

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected