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 Type Method Description TensorInfogetComponents(int index)A TensorInfo for each flattened component tensor.intgetComponentsCount()A TensorInfo for each flattened component tensor.java.util.List<TensorInfo>getComponentsList()A TensorInfo for each flattened component tensor.TensorInfoOrBuildergetComponentsOrBuilder(int index)A TensorInfo for each flattened component tensor.java.util.List<? extends TensorInfoOrBuilder>getComponentsOrBuilderList()A TensorInfo for each flattened component tensor.Struct.TypeSpecProtogetTypeSpec()The serialized TypeSpec for the composite tensor.Struct.TypeSpecProtoOrBuildergetTypeSpecOrBuilder()The serialized TypeSpec for the composite tensor.booleanhasTypeSpec()The serialized TypeSpec for the composite tensor.Methods 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
java.util.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
java.util.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;
-