# Module: tfma.types

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/model-analysis/blob/v0.46.0/tensorflow_model_analysis/api/types.py) |

Types.

## Classes

[`class EvalSharedModel`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/EvalSharedModel): Shared model used during extraction and evaluation.

[`class FeaturesPredictionsLabels`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/FeaturesPredictionsLabels): FeaturesPredictionsLabels(input_ref, features, predictions, labels)

[`class MaterializedColumn`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/MaterializedColumn): MaterializedColumn(name, value)

[`class ModelLoader`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/ModelLoader): Model loader is responsible for loading shared model types.

[`class RaggedTensorValue`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/RaggedTensorValue): RaggedTensorValue encapsulates a batch of ragged tensor values.

[`class SparseTensorValue`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/SparseTensorValue): SparseTensorValue encapsulates a batch of sparse tensor values.

[`class StructuredMetricValue`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/StructuredMetricValue): The base class for all structured metrics used within TFMA.

[`class ValueWithTDistribution`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/ValueWithTDistribution): Represents the t-distribution value.

[`class VarLenTensorValue`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/VarLenTensorValue): VarLenTensorValue encapsulates a batch of varlen dense tensor values.

## Type Aliases

[`AddMetricsCallbackType`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/AddMetricsCallbackType)

[`DictOfFetchedTensorValues`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/DictOfFetchedTensorValues)

[`DictOfTensorType`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/DictOfTensorType)

[`DictOfTensorTypeMaybeDict`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/DictOfTensorTypeMaybeDict)

[`DictOfTensorValue`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/DictOfTensorValue)

[`DictOfTensorValueMaybeDict`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/DictOfTensorValueMaybeDict)

[`DictOfTypeSpec`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/DictOfTypeSpec)

[`DictOfTypeSpecMaybeDict`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/DictOfTypeSpecMaybeDict)

[`Extracts`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/Extracts)

[`FPLKeyType`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/FPLKeyType)

[`MaybeMultipleEvalSharedModels`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/MaybeMultipleEvalSharedModels)

[`MetricValueType`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/MetricValueType)

[`MetricVariablesType`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/MetricVariablesType)

[`PrimitiveMetricValueType`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/PrimitiveMetricValueType)

[`TensorOrOperationType`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/TensorOrOperationType)

[`TensorType`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/TensorType)

[`TensorTypeMaybeDict`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/TensorTypeMaybeDict)

[`TensorTypeMaybeMultiLevelDict`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/TensorTypeMaybeMultiLevelDict)

[`TensorValue`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/TensorValue)

[`TensorValueMaybeDict`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/TensorValueMaybeDict)

[`TensorValueMaybeMultiLevelDict`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/TensorValueMaybeMultiLevelDict)

[`TypeSpecMaybeDict`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/TypeSpecMaybeDict)

[`TypeSpecMaybeMultiLevelDict`](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/types/TypeSpecMaybeMultiLevelDict)

<br />

<br />

<br />

| ## Other Members ||
|---|---|
| ConcreteStructuredMetricValue | Instance of `typing.TypeVar` |

<br />