Returns the Tensor components encoded in a CompositeTensorVariant.
Raises an error if type_spec_proto doesn't match the TypeSpec
in encoded.
Args
encoded
A Tensor of type variant.
A scalar variant Tensor containing an encoded ExtensionType value.
metadata
A string.
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
A list of tf.DTypes. Expected dtypes for components.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-01-23 UTC."],[],[]]