tf.raw_ops.CompositeTensorVariantFromComponents

Encodes an ExtensionType value into a variant scalar Tensor.

Returns a scalar variant tensor containing a single CompositeTensorVariant with the specified Tensor components and TypeSpec.

components A list of Tensor objects. The component tensors for the extension type value.
metadata A string. String serialization for the TypeSpec. (Note: the encoding for the TypeSpec may change in future versions of TensorFlow.)
name A name for the operation (optional).

A Tensor of type variant.