Interface TensorInfo.CompositeTensorOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
- All Known Implementing Classes:
TensorInfo.CompositeTensor, TensorInfo.CompositeTensor.Builder
- Enclosing class:
TensorInfo
-
Method Summary
Modifier and TypeMethodDescriptiongetComponents(int index) A TensorInfo for each flattened component tensor.intA TensorInfo for each flattened component tensor.A TensorInfo for each flattened component tensor.getComponentsOrBuilder(int index) A TensorInfo for each flattened component tensor.List<? extends TensorInfoOrBuilder> A TensorInfo for each flattened component tensor.The serialized TypeSpec for the composite tensor.The serialized TypeSpec for the composite tensor.booleanThe serialized TypeSpec for the composite tensor.Methods inherited from interface MessageLiteOrBuilder
isInitialized
-
Method Details
-
hasTypeSpec
boolean hasTypeSpec()The serialized TypeSpec for the composite tensor.
.tensorflow.TypeSpecProto type_spec = 1;- Returns:
- Whether the typeSpec field is set.
-
getTypeSpec
Struct.TypeSpecProto getTypeSpec()The serialized TypeSpec for the composite tensor.
.tensorflow.TypeSpecProto type_spec = 1;- Returns:
- The typeSpec.
-
getTypeSpecOrBuilder
Struct.TypeSpecProtoOrBuilder getTypeSpecOrBuilder()The serialized TypeSpec for the composite tensor.
.tensorflow.TypeSpecProto type_spec = 1; -
getComponentsList
List<TensorInfo> getComponentsList()A TensorInfo for each flattened component tensor.
repeated .tensorflow.TensorInfo components = 2; -
getComponents
A TensorInfo for each flattened component tensor.
repeated .tensorflow.TensorInfo components = 2; -
getComponentsCount
int getComponentsCount()A TensorInfo for each flattened component tensor.
repeated .tensorflow.TensorInfo components = 2; -
getComponentsOrBuilderList
List<? extends TensorInfoOrBuilder> getComponentsOrBuilderList()A TensorInfo for each flattened component tensor.
repeated .tensorflow.TensorInfo components = 2; -
getComponentsOrBuilder
A TensorInfo for each flattened component tensor.
repeated .tensorflow.TensorInfo components = 2;
-