# Module: tf.experimental

<br />

Public API for tf.experimental namespace.

## Modules

[`dlpack`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/experimental/dlpack) module: Public API for tf.experimental.dlpack namespace.

[`dtensor`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/experimental/dtensor) module: Public API for tf.experimental.dtensor namespace.

[`extension_type`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/experimental/extension_type) module: Public API for tf.experimental.extension_type namespace.

[`numpy`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/experimental/numpy) module: # tf.experimental.numpy: NumPy API on TensorFlow.

[`tensorrt`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/experimental/tensorrt) module: Public API for tf.experimental.tensorrt namespace.

## Classes

[`class BatchableExtensionType`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/experimental/BatchableExtensionType): An ExtensionType that can be batched and unbatched.

[`class DynamicRaggedShape`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/experimental/DynamicRaggedShape): The shape of a ragged or dense tensor.

[`class ExtensionType`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/experimental/ExtensionType): Base class for TensorFlow `ExtensionType` classes.

[`class ExtensionTypeBatchEncoder`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/experimental/ExtensionTypeBatchEncoder): Class used to encode and decode extension type values for batching.

[`class Optional`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/experimental/Optional): Represents a value that may or may not be present.

[`class RowPartition`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/experimental/RowPartition): Partitioning of a sequence of values into contiguous subsequences ("rows").

[`class StructuredTensor`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/experimental/StructuredTensor): A multidimensional collection of structures with the same schema.

## Functions

[`async_clear_error(...)`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/experimental/async_clear_error): Clear pending operations and error statuses in async execution.

[`async_scope(...)`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/experimental/async_scope): Context manager for grouping async operations.

[`dispatch_for_api(...)`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/experimental/dispatch_for_api): Decorator that overrides the default implementation for a TensorFlow API.

[`dispatch_for_binary_elementwise_apis(...)`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/experimental/dispatch_for_binary_elementwise_apis): Decorator to override default implementation for binary elementwise APIs.

[`dispatch_for_binary_elementwise_assert_apis(...)`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/experimental/dispatch_for_binary_elementwise_assert_apis): Decorator to override default implementation for binary elementwise assert APIs.

[`dispatch_for_unary_elementwise_apis(...)`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/experimental/dispatch_for_unary_elementwise_apis): Decorator to override default implementation for unary elementwise APIs.

[`function_executor_type(...)`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/experimental/function_executor_type): Context manager for setting the executor of eager defined functions.

[`register_filesystem_plugin(...)`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/experimental/register_filesystem_plugin): Loads a TensorFlow FileSystem plugin.

[`unregister_dispatch_for(...)`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/experimental/unregister_dispatch_for): Unregisters a function that was registered with `@dispatch_for_*`.

<br />

<br />

<br />

| ## Other Members ||
|---|---|
| float8_e4m3fn | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/dtypes/DType) <br /> 8-bit float with 4 exponent bits and 3 mantissa bits, with extended finite range. This type has no representation for inf, and only two NaN values: 0xFF for negative NaN, and 0x7F for positive NaN. |
| float8_e5m2 | Instance of [`tf.dtypes.DType`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/dtypes/DType) <br /> 8-bit float with 5 exponent bits and 2 mantissa bits. |

<br />