Package org.tensorflow.framework
Interface TensorInfo.CompositeTensorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TensorInfo.CompositeTensor,TensorInfo.CompositeTensor.Builder
- Enclosing class:
TensorInfo
public static interface TensorInfo.CompositeTensorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
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 com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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;
-