TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.data.experimental.SparseTensorStructure

TensorFlow 2.0 version View source on GitHub

Class SparseTensorStructure

Represents structural information about a tf.SparseTensor.

Inherits From: Structure

Aliases:

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

__init__

View source

__init__(
    dtype,
    dense_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)