public static final class
TensorInfo.CompositeTensor.Builder
Generic encoding for composite tensors.
tensorflow.TensorInfo.CompositeTensor
Public Methods
TensorInfo.CompositeTensor.Builder |
addAllComponents(Iterable<? extends TensorInfo> values)
A TensorInfo for each flattened component tensor. |
TensorInfo.CompositeTensor.Builder | |
TensorInfo.CompositeTensor.Builder | |
TensorInfo.CompositeTensor.Builder | |
TensorInfo.CompositeTensor.Builder |
addComponents(int index, TensorInfo.Builder builderForValue)
A TensorInfo for each flattened component tensor. |
TensorInfo.Builder |
addComponentsBuilder()
A TensorInfo for each flattened component tensor. |
TensorInfo.Builder |
addComponentsBuilder(int index)
A TensorInfo for each flattened component tensor. |
TensorInfo.CompositeTensor.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
TensorInfo.CompositeTensor |
build()
|
TensorInfo.CompositeTensor | |
TensorInfo.CompositeTensor.Builder |
clear()
|
TensorInfo.CompositeTensor.Builder |
clearComponents()
A TensorInfo for each flattened component tensor. |
TensorInfo.CompositeTensor.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
TensorInfo.CompositeTensor.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
TensorInfo.CompositeTensor.Builder |
clearTypeSpec()
The serialized TypeSpec for the composite tensor. |
TensorInfo.CompositeTensor.Builder |
clone()
|
TensorInfo |
getComponents(int index)
A TensorInfo for each flattened component tensor. |
TensorInfo.Builder |
getComponentsBuilder(int index)
A TensorInfo for each flattened component tensor. |
List<TensorInfo.Builder> |
getComponentsBuilderList()
A TensorInfo for each flattened component tensor. |
int |
getComponentsCount()
A TensorInfo for each flattened component tensor. |
List<TensorInfo> |
getComponentsList()
A TensorInfo for each flattened component tensor. |
TensorInfoOrBuilder |
getComponentsOrBuilder(int index)
A TensorInfo for each flattened component tensor. |
List<? extends TensorInfoOrBuilder> |
getComponentsOrBuilderList()
A TensorInfo for each flattened component tensor. |
TensorInfo.CompositeTensor | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
TypeSpecProto |
getTypeSpec()
The serialized TypeSpec for the composite tensor. |
TypeSpecProto.Builder |
getTypeSpecBuilder()
The serialized TypeSpec for the composite tensor. |
TypeSpecProtoOrBuilder |
getTypeSpecOrBuilder()
The serialized TypeSpec for the composite tensor. |
boolean |
hasTypeSpec()
The serialized TypeSpec for the composite tensor. |
final boolean | |
TensorInfo.CompositeTensor.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
TensorInfo.CompositeTensor.Builder |
mergeFrom(com.google.protobuf.Message other)
|
TensorInfo.CompositeTensor.Builder | |
final TensorInfo.CompositeTensor.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
TensorInfo.CompositeTensor.Builder |
removeComponents(int index)
A TensorInfo for each flattened component tensor. |
TensorInfo.CompositeTensor.Builder | |
TensorInfo.CompositeTensor.Builder |
setComponents(int index, TensorInfo.Builder builderForValue)
A TensorInfo for each flattened component tensor. |
TensorInfo.CompositeTensor.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
TensorInfo.CompositeTensor.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
TensorInfo.CompositeTensor.Builder |
setTypeSpec(TypeSpecProto.Builder builderForValue)
The serialized TypeSpec for the composite tensor. |
TensorInfo.CompositeTensor.Builder | |
final TensorInfo.CompositeTensor.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
Inherited Methods
Public Methods
public TensorInfo.CompositeTensor.Builder addAllComponents (Iterable<? extends TensorInfo> values)
A TensorInfo for each flattened component tensor.
repeated .tensorflow.TensorInfo components = 2;
public TensorInfo.CompositeTensor.Builder addComponents (int index, TensorInfo value)
A TensorInfo for each flattened component tensor.
repeated .tensorflow.TensorInfo components = 2;
public TensorInfo.CompositeTensor.Builder addComponents (TensorInfo value)
A TensorInfo for each flattened component tensor.
repeated .tensorflow.TensorInfo components = 2;
public TensorInfo.CompositeTensor.Builder addComponents (TensorInfo.Builder builderForValue)
A TensorInfo for each flattened component tensor.
repeated .tensorflow.TensorInfo components = 2;
public TensorInfo.CompositeTensor.Builder addComponents (int index, TensorInfo.Builder builderForValue)
A TensorInfo for each flattened component tensor.
repeated .tensorflow.TensorInfo components = 2;
public TensorInfo.Builder addComponentsBuilder ()
A TensorInfo for each flattened component tensor.
repeated .tensorflow.TensorInfo components = 2;
public TensorInfo.Builder addComponentsBuilder (int index)
A TensorInfo for each flattened component tensor.
repeated .tensorflow.TensorInfo components = 2;
public TensorInfo.CompositeTensor.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public TensorInfo.CompositeTensor.Builder clearComponents ()
A TensorInfo for each flattened component tensor.
repeated .tensorflow.TensorInfo components = 2;
public TensorInfo.CompositeTensor.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
public TensorInfo.CompositeTensor.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
public TensorInfo.CompositeTensor.Builder clearTypeSpec ()
The serialized TypeSpec for the composite tensor.
.tensorflow.TypeSpecProto type_spec = 1;
public TensorInfo getComponents (int index)
A TensorInfo for each flattened component tensor.
repeated .tensorflow.TensorInfo components = 2;
public TensorInfo.Builder getComponentsBuilder (int index)
A TensorInfo for each flattened component tensor.
repeated .tensorflow.TensorInfo components = 2;
public List<TensorInfo.Builder> getComponentsBuilderList ()
A TensorInfo for each flattened component tensor.
repeated .tensorflow.TensorInfo components = 2;
public int getComponentsCount ()
A TensorInfo for each flattened component tensor.
repeated .tensorflow.TensorInfo components = 2;
public List<TensorInfo> getComponentsList ()
A TensorInfo for each flattened component tensor.
repeated .tensorflow.TensorInfo components = 2;
public TensorInfoOrBuilder getComponentsOrBuilder (int index)
A TensorInfo for each flattened component tensor.
repeated .tensorflow.TensorInfo components = 2;
public List<? extends TensorInfoOrBuilder> getComponentsOrBuilderList ()
A TensorInfo for each flattened component tensor.
repeated .tensorflow.TensorInfo components = 2;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public TypeSpecProto getTypeSpec ()
The serialized TypeSpec for the composite tensor.
.tensorflow.TypeSpecProto type_spec = 1;
public TypeSpecProto.Builder getTypeSpecBuilder ()
The serialized TypeSpec for the composite tensor.
.tensorflow.TypeSpecProto type_spec = 1;
public TypeSpecProtoOrBuilder getTypeSpecOrBuilder ()
The serialized TypeSpec for the composite tensor.
.tensorflow.TypeSpecProto type_spec = 1;
public boolean hasTypeSpec ()
The serialized TypeSpec for the composite tensor.
.tensorflow.TypeSpecProto type_spec = 1;
public final boolean isInitialized ()
public TensorInfo.CompositeTensor.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public TensorInfo.CompositeTensor.Builder mergeTypeSpec (TypeSpecProto value)
The serialized TypeSpec for the composite tensor.
.tensorflow.TypeSpecProto type_spec = 1;
public final TensorInfo.CompositeTensor.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public TensorInfo.CompositeTensor.Builder removeComponents (int index)
A TensorInfo for each flattened component tensor.
repeated .tensorflow.TensorInfo components = 2;
public TensorInfo.CompositeTensor.Builder setComponents (int index, TensorInfo value)
A TensorInfo for each flattened component tensor.
repeated .tensorflow.TensorInfo components = 2;
public TensorInfo.CompositeTensor.Builder setComponents (int index, TensorInfo.Builder builderForValue)
A TensorInfo for each flattened component tensor.
repeated .tensorflow.TensorInfo components = 2;
public TensorInfo.CompositeTensor.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public TensorInfo.CompositeTensor.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
public TensorInfo.CompositeTensor.Builder setTypeSpec (TypeSpecProto.Builder builderForValue)
The serialized TypeSpec for the composite tensor.
.tensorflow.TypeSpecProto type_spec = 1;
public TensorInfo.CompositeTensor.Builder setTypeSpec (TypeSpecProto value)
The serialized TypeSpec for the composite tensor.
.tensorflow.TypeSpecProto type_spec = 1;