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

tf.data.experimental.TensorStructure

TensorFlow 2.0 version View source on GitHub

Class TensorStructure

Represents structural information about a tf.Tensor.

Inherits From: Structure

Aliases:

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

__init__

View source

__init__(
    dtype,
    shape
)

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)