Package org.platanios.tensorflow.proto
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TensorInfo
getComponents(int index)
A TensorInfo for each flattened component tensor.int
getComponentsCount()
A TensorInfo for each flattened component tensor.java.util.List<TensorInfo>
getComponentsList()
A TensorInfo for each flattened component tensor.TensorInfoOrBuilder
getComponentsOrBuilder(int index)
A TensorInfo for each flattened component tensor.java.util.List<? extends TensorInfoOrBuilder>
getComponentsOrBuilderList()
A TensorInfo for each flattened component tensor.Struct.TypeSpecProto
getTypeSpec()
The serialized TypeSpec for the composite tensor.Struct.TypeSpecProtoOrBuilder
getTypeSpecOrBuilder()
The serialized TypeSpec for the composite tensor.boolean
hasTypeSpec()
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 Detail
-
hasTypeSpec
boolean hasTypeSpec()
The serialized TypeSpec for the composite tensor.
.org.platanios.tensorflow.proto.TypeSpecProto type_spec = 1;
- Returns:
- Whether the typeSpec field is set.
-
getTypeSpec
Struct.TypeSpecProto getTypeSpec()
The serialized TypeSpec for the composite tensor.
.org.platanios.tensorflow.proto.TypeSpecProto type_spec = 1;
- Returns:
- The typeSpec.
-
getTypeSpecOrBuilder
Struct.TypeSpecProtoOrBuilder getTypeSpecOrBuilder()
The serialized TypeSpec for the composite tensor.
.org.platanios.tensorflow.proto.TypeSpecProto type_spec = 1;
-
getComponentsList
java.util.List<TensorInfo> getComponentsList()
A TensorInfo for each flattened component tensor.
repeated .org.platanios.tensorflow.proto.TensorInfo components = 2;
-
getComponents
TensorInfo getComponents(int index)
A TensorInfo for each flattened component tensor.
repeated .org.platanios.tensorflow.proto.TensorInfo components = 2;
-
getComponentsCount
int getComponentsCount()
A TensorInfo for each flattened component tensor.
repeated .org.platanios.tensorflow.proto.TensorInfo components = 2;
-
getComponentsOrBuilderList
java.util.List<? extends TensorInfoOrBuilder> getComponentsOrBuilderList()
A TensorInfo for each flattened component tensor.
repeated .org.platanios.tensorflow.proto.TensorInfo components = 2;
-
getComponentsOrBuilder
TensorInfoOrBuilder getComponentsOrBuilder(int index)
A TensorInfo for each flattened component tensor.
repeated .org.platanios.tensorflow.proto.TensorInfo components = 2;
-
-