Join us at TensorFlow World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.data.experimental.OptionalStructure

TensorFlow 2.0 version View source on GitHub

Class OptionalStructure

Represents an optional potentially containing a structured value.

Inherits From: Structure

Aliases:

  • Class tf.compat.v1.data.experimental.OptionalStructure
  • Class tf.compat.v2.data.experimental.OptionalStructure

__init__

View source

__init__(value_structure)

Methods

__eq__

View source

__eq__(other)

__ne__

View source

__ne__(other)

from_value

View source

@staticmethod
from_value(value)

is_compatible_with

View source

is_compatible_with(other)