Decodes a `variant` scalar Tensor into an `ExtensionType` value.
Returns the Tensor components encoded in a `CompositeTensorVariant`.
Raises an error if `type_spec_proto` doesn't match the TypeSpec in `encoded`.
Public Methods
List<Output<?>> |
components()
The component tensors for the ExtensionType value in `encoded`.
|
static CompositeTensorVariantToComponents | |
Iterator<Operand<Object>> |
iterator()
|
Inherited Methods
boolean |
equals(Object arg0)
|
final Class<?> |
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String |
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Methods
public List<Output<?>> components ()
The component tensors for the ExtensionType value in `encoded`.
public static CompositeTensorVariantToComponents create (Scope scope, Operand<?> encoded, String metadata, List<Class<?>> Tcomponents)
Factory method to create a class wrapping a new CompositeTensorVariantToComponents operation.
Parameters
scope | current scope |
---|---|
encoded | A scalar `variant` Tensor containing an encoded ExtensionType value. |
metadata | String serialization for the TypeSpec. Must be compatible with the `TypeSpec` contained in `encoded`. (Note: the encoding for the TypeSpec may change in future versions of TensorFlow.) |
Tcomponents | Expected dtypes for components. |
Returns
- a new instance of CompositeTensorVariantToComponents