public static final class NamedTensorProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NamedTensorProto.Builder> implements NamedTensorProtoOrBuilder
A pair of tensor name and tensor values.Protobuf type
tensorflow.NamedTensorProto| Modifier and Type | Method and Description |
|---|---|
NamedTensorProto.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NamedTensorProto |
build() |
NamedTensorProto |
buildPartial() |
NamedTensorProto.Builder |
clear() |
NamedTensorProto.Builder |
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
NamedTensorProto.Builder |
clearName()
Name of the tensor.
|
NamedTensorProto.Builder |
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
NamedTensorProto.Builder |
clearTensor()
The client can populate a TensorProto using a tensorflow::Tensor`, or
directly using the protobuf field accessors.
|
NamedTensorProto.Builder |
clone() |
NamedTensorProto |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
Name of the tensor.
|
org.nd4j.shade.protobuf.ByteString |
getNameBytes()
Name of the tensor.
|
TensorProto |
getTensor()
The client can populate a TensorProto using a tensorflow::Tensor`, or
directly using the protobuf field accessors.
|
TensorProto.Builder |
getTensorBuilder()
The client can populate a TensorProto using a tensorflow::Tensor`, or
directly using the protobuf field accessors.
|
TensorProtoOrBuilder |
getTensorOrBuilder()
The client can populate a TensorProto using a tensorflow::Tensor`, or
directly using the protobuf field accessors.
|
boolean |
hasTensor()
The client can populate a TensorProto using a tensorflow::Tensor`, or
directly using the protobuf field accessors.
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
NamedTensorProto.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
NamedTensorProto.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
NamedTensorProto.Builder |
mergeFrom(NamedTensorProto other) |
NamedTensorProto.Builder |
mergeTensor(TensorProto value)
The client can populate a TensorProto using a tensorflow::Tensor`, or
directly using the protobuf field accessors.
|
NamedTensorProto.Builder |
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
NamedTensorProto.Builder |
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NamedTensorProto.Builder |
setName(String value)
Name of the tensor.
|
NamedTensorProto.Builder |
setNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the tensor.
|
NamedTensorProto.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
NamedTensorProto.Builder |
setTensor(TensorProto.Builder builderForValue)
The client can populate a TensorProto using a tensorflow::Tensor`, or
directly using the protobuf field accessors.
|
NamedTensorProto.Builder |
setTensor(TensorProto value)
The client can populate a TensorProto using a tensorflow::Tensor`, or
directly using the protobuf field accessors.
|
NamedTensorProto.Builder |
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NamedTensorProto.Builder>public NamedTensorProto.Builder clear()
clear in interface org.nd4j.shade.protobuf.Message.Builderclear in interface org.nd4j.shade.protobuf.MessageLite.Builderclear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NamedTensorProto.Builder>public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface org.nd4j.shade.protobuf.Message.BuildergetDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuildergetDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NamedTensorProto.Builder>public NamedTensorProto getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderpublic NamedTensorProto build()
build in interface org.nd4j.shade.protobuf.Message.Builderbuild in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic NamedTensorProto buildPartial()
buildPartial in interface org.nd4j.shade.protobuf.Message.BuilderbuildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic NamedTensorProto.Builder clone()
clone in interface org.nd4j.shade.protobuf.Message.Builderclone in interface org.nd4j.shade.protobuf.MessageLite.Builderclone in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NamedTensorProto.Builder>public NamedTensorProto.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface org.nd4j.shade.protobuf.Message.BuildersetField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NamedTensorProto.Builder>public NamedTensorProto.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
clearField in interface org.nd4j.shade.protobuf.Message.BuilderclearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NamedTensorProto.Builder>public NamedTensorProto.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface org.nd4j.shade.protobuf.Message.BuilderclearOneof in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NamedTensorProto.Builder>public NamedTensorProto.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface org.nd4j.shade.protobuf.Message.BuildersetRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NamedTensorProto.Builder>public NamedTensorProto.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface org.nd4j.shade.protobuf.Message.BuilderaddRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NamedTensorProto.Builder>public NamedTensorProto.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<NamedTensorProto.Builder>public NamedTensorProto.Builder mergeFrom(NamedTensorProto other)
public final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NamedTensorProto.Builder>public NamedTensorProto.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in interface org.nd4j.shade.protobuf.MessageLite.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<NamedTensorProto.Builder>IOExceptionpublic String getName()
Name of the tensor.
string name = 1;getName in interface NamedTensorProtoOrBuilderpublic org.nd4j.shade.protobuf.ByteString getNameBytes()
Name of the tensor.
string name = 1;getNameBytes in interface NamedTensorProtoOrBuilderpublic NamedTensorProto.Builder setName(String value)
Name of the tensor.
string name = 1;public NamedTensorProto.Builder clearName()
Name of the tensor.
string name = 1;public NamedTensorProto.Builder setNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the tensor.
string name = 1;public boolean hasTensor()
The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors. The client specifies whether the returned tensor values should be filled tensor fields (float_val, int_val, etc.) or encoded in a compact form in tensor.tensor_content.
.tensorflow.TensorProto tensor = 2;hasTensor in interface NamedTensorProtoOrBuilderpublic TensorProto getTensor()
The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors. The client specifies whether the returned tensor values should be filled tensor fields (float_val, int_val, etc.) or encoded in a compact form in tensor.tensor_content.
.tensorflow.TensorProto tensor = 2;getTensor in interface NamedTensorProtoOrBuilderpublic NamedTensorProto.Builder setTensor(TensorProto value)
The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors. The client specifies whether the returned tensor values should be filled tensor fields (float_val, int_val, etc.) or encoded in a compact form in tensor.tensor_content.
.tensorflow.TensorProto tensor = 2;public NamedTensorProto.Builder setTensor(TensorProto.Builder builderForValue)
The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors. The client specifies whether the returned tensor values should be filled tensor fields (float_val, int_val, etc.) or encoded in a compact form in tensor.tensor_content.
.tensorflow.TensorProto tensor = 2;public NamedTensorProto.Builder mergeTensor(TensorProto value)
The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors. The client specifies whether the returned tensor values should be filled tensor fields (float_val, int_val, etc.) or encoded in a compact form in tensor.tensor_content.
.tensorflow.TensorProto tensor = 2;public NamedTensorProto.Builder clearTensor()
The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors. The client specifies whether the returned tensor values should be filled tensor fields (float_val, int_val, etc.) or encoded in a compact form in tensor.tensor_content.
.tensorflow.TensorProto tensor = 2;public TensorProto.Builder getTensorBuilder()
The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors. The client specifies whether the returned tensor values should be filled tensor fields (float_val, int_val, etc.) or encoded in a compact form in tensor.tensor_content.
.tensorflow.TensorProto tensor = 2;public TensorProtoOrBuilder getTensorOrBuilder()
The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors. The client specifies whether the returned tensor values should be filled tensor fields (float_val, int_val, etc.) or encoded in a compact form in tensor.tensor_content.
.tensorflow.TensorProto tensor = 2;getTensorOrBuilder in interface NamedTensorProtoOrBuilderpublic final NamedTensorProto.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildersetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NamedTensorProto.Builder>public final NamedTensorProto.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildermergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NamedTensorProto.Builder>Copyright © 2021. All rights reserved.