Uses of Class
org.tensorflow.proto.TensorProto.Builder
Packages that use TensorProto.Builder
Package
Description
-
Uses of TensorProto.Builder in org.tensorflow.proto
Subclasses with type arguments of type TensorProto.Builder in org.tensorflow.protoModifier and TypeClassDescriptionstatic final classProtocol buffer representing a tensor.Methods in org.tensorflow.proto that return TensorProto.BuilderModifier and TypeMethodDescriptionTensorProto.Builder.addAllBoolVal(Iterable<? extends Boolean> values) DT_BOOLTensorProto.Builder.addAllDcomplexVal(Iterable<? extends Double> values) DT_COMPLEX128. dcomplex_val(2*i) and dcomplex_val(2*i+1) are real and imaginary parts of i-th double precision complex.TensorProto.Builder.addAllDoubleVal(Iterable<? extends Double> values) DT_DOUBLE.TensorProto.Builder.addAllFloatVal(Iterable<? extends Float> values) DT_FLOAT.TensorProto.Builder.addAllHalfVal(Iterable<? extends Integer> values) DT_HALF, DT_BFLOAT16.TensorProto.Builder.addAllInt64Val(Iterable<? extends Long> values) DT_INT64TensorProto.Builder.addAllIntVal(Iterable<? extends Integer> values) DT_INT32, DT_INT16, DT_UINT16, DT_INT8, DT_UINT8.TensorProto.Builder.addAllResourceHandleVal(Iterable<? extends ResourceHandleProto> values) DT_RESOURCETensorProto.Builder.addAllScomplexVal(Iterable<? extends Float> values) DT_COMPLEX64. scomplex_val(2*i) and scomplex_val(2*i+1) are real and imaginary parts of i-th single precision complex.TensorProto.Builder.addAllStringVal(Iterable<? extends ByteString> values) DT_STRINGTensorProto.Builder.addAllUint32Val(Iterable<? extends Integer> values) DT_UINT32TensorProto.Builder.addAllUint64Val(Iterable<? extends Long> values) DT_UINT64TensorProto.Builder.addAllVariantVal(Iterable<? extends VariantTensorDataProto> values) DT_VARIANTTensorProto.Builder.addBoolVal(boolean value) DT_BOOLTensorProto.Builder.addDcomplexVal(double value) DT_COMPLEX128. dcomplex_val(2*i) and dcomplex_val(2*i+1) are real and imaginary parts of i-th double precision complex.TensorProto.Builder.addDoubleVal(double value) DT_DOUBLE.TensorProto.Builder.addFloatVal(float value) DT_FLOAT.TensorProto.Builder.addHalfVal(int value) DT_HALF, DT_BFLOAT16.TensorProto.Builder.addInt64Val(long value) DT_INT64TensorProto.Builder.addIntVal(int value) DT_INT32, DT_INT16, DT_UINT16, DT_INT8, DT_UINT8.TensorProto.Builder.addRepeatedField(Descriptors.FieldDescriptor field, Object value) TensorProto.Builder.addResourceHandleVal(int index, ResourceHandleProto value) DT_RESOURCETensorProto.Builder.addResourceHandleVal(int index, ResourceHandleProto.Builder builderForValue) DT_RESOURCETensorProto.Builder.addResourceHandleVal(ResourceHandleProto value) DT_RESOURCETensorProto.Builder.addResourceHandleVal(ResourceHandleProto.Builder builderForValue) DT_RESOURCETensorProto.Builder.addScomplexVal(float value) DT_COMPLEX64. scomplex_val(2*i) and scomplex_val(2*i+1) are real and imaginary parts of i-th single precision complex.TensorProto.Builder.addStringVal(ByteString value) DT_STRINGAttrValue.ListValue.Builder.addTensorBuilder()"list(tensor)"AttrValue.ListValue.Builder.addTensorBuilder(int index) "list(tensor)"Execution.Builder.addTensorProtosBuilder()Output Tensor values in the type described by `tensor_value_type`.Execution.Builder.addTensorProtosBuilder(int index) Output Tensor values in the type described by `tensor_value_type`.VariantTensorDataProto.Builder.addTensorsBuilder()Tensors contained within objects being serialized.VariantTensorDataProto.Builder.addTensorsBuilder(int index) Tensors contained within objects being serialized.TensorProto.Builder.addUint32Val(int value) DT_UINT32TensorProto.Builder.addUint64Val(long value) DT_UINT64TensorProto.Builder.addVariantVal(int index, VariantTensorDataProto value) DT_VARIANTTensorProto.Builder.addVariantVal(int index, VariantTensorDataProto.Builder builderForValue) DT_VARIANTTensorProto.Builder.addVariantVal(VariantTensorDataProto value) DT_VARIANTTensorProto.Builder.addVariantVal(VariantTensorDataProto.Builder builderForValue) DT_VARIANTTensorProto.Builder.clear()TensorProto.Builder.clearBoolVal()DT_BOOLTensorProto.Builder.clearDcomplexVal()DT_COMPLEX128. dcomplex_val(2*i) and dcomplex_val(2*i+1) are real and imaginary parts of i-th double precision complex.TensorProto.Builder.clearDoubleVal()DT_DOUBLE.TensorProto.Builder.clearDtype()Data type of the tensor.TensorProto.Builder.clearField(Descriptors.FieldDescriptor field) TensorProto.Builder.clearFloat8Val()DT_FLOAT8_*, use variable-sized set of bytes (i.e. the equivalent of repeated uint8, if such a thing existed).TensorProto.Builder.clearFloatVal()DT_FLOAT.TensorProto.Builder.clearHalfVal()DT_HALF, DT_BFLOAT16.TensorProto.Builder.clearInt64Val()DT_INT64TensorProto.Builder.clearIntVal()DT_INT32, DT_INT16, DT_UINT16, DT_INT8, DT_UINT8.TensorProto.Builder.clearOneof(Descriptors.OneofDescriptor oneof) TensorProto.Builder.clearResourceHandleVal()DT_RESOURCETensorProto.Builder.clearScomplexVal()DT_COMPLEX64. scomplex_val(2*i) and scomplex_val(2*i+1) are real and imaginary parts of i-th single precision complex.TensorProto.Builder.clearStringVal()DT_STRINGTensorProto.Builder.clearTensorContent()Serialized raw tensor content from either Tensor::AsProtoTensorContent or memcpy in tensorflow::grpc::EncodeTensorToByteBuffer.TensorProto.Builder.clearTensorShape()Shape of the tensor.TensorProto.Builder.clearUint32Val()DT_UINT32TensorProto.Builder.clearUint64Val()DT_UINT64TensorProto.Builder.clearVariantVal()DT_VARIANTTensorProto.Builder.clearVersionNumber()Version number.TensorProto.Builder.clone()SavedSlice.Builder.getDataBuilder()The raw data of the slice is stored as a TensorProto.FixedLenFeatureProto.Builder.getDefaultValueBuilder().tensorflow.TensorProto default_value = 3;Struct.BoundedTensorSpecProto.Builder.getMaximumBuilder().tensorflow.TensorProto maximum = 5;Struct.BoundedTensorSpecProto.Builder.getMinimumBuilder().tensorflow.TensorProto minimum = 4;Struct.StructuredValue.Builder.getNumpyValueBuilder()Represents a value for np.ndarray.AttrValue.Builder.getTensorBuilder()"tensor"AttrValue.ListValue.Builder.getTensorBuilder(int index) "list(tensor)"NamedTensorProto.Builder.getTensorBuilder()The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors.Summary.Value.Builder.getTensorBuilder().tensorflow.TensorProto tensor = 8;GraphExecutionTrace.Builder.getTensorProtoBuilder()Tensor value in the type described by `tensor_value_type`.Execution.Builder.getTensorProtosBuilder(int index) Output Tensor values in the type described by `tensor_value_type`.VariantTensorDataProto.Builder.getTensorsBuilder(int index) Tensors contained within objects being serialized.Struct.StructuredValue.Builder.getTensorValueBuilder()Represents a value for tf.Tensor.OpPerformanceData.OpInfo.TensorProperties.Builder.getValueBuilder().tensorflow.TensorProto value = 3;TensorProto.Builder.mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) TensorProto.Builder.mergeFrom(TensorProto other) TensorProto.Builder.mergeTensorShape(TensorShapeProto value) Shape of the tensor.final TensorProto.BuilderTensorProto.Builder.mergeUnknownFields(UnknownFieldSet unknownFields) static TensorProto.BuilderTensorProto.newBuilder()static TensorProto.BuilderTensorProto.newBuilder(TensorProto prototype) TensorProto.newBuilderForType()protected TensorProto.BuilderTensorProto.newBuilderForType(GeneratedMessageV3.BuilderParent parent) TensorProto.Builder.removeResourceHandleVal(int index) DT_RESOURCETensorProto.Builder.removeVariantVal(int index) DT_VARIANTTensorProto.Builder.setBoolVal(int index, boolean value) DT_BOOLTensorProto.Builder.setDcomplexVal(int index, double value) DT_COMPLEX128. dcomplex_val(2*i) and dcomplex_val(2*i+1) are real and imaginary parts of i-th double precision complex.TensorProto.Builder.setDoubleVal(int index, double value) DT_DOUBLE.Data type of the tensor.TensorProto.Builder.setDtypeValue(int value) Data type of the tensor.TensorProto.Builder.setField(Descriptors.FieldDescriptor field, Object value) TensorProto.Builder.setFloat8Val(ByteString value) DT_FLOAT8_*, use variable-sized set of bytes (i.e. the equivalent of repeated uint8, if such a thing existed).TensorProto.Builder.setFloatVal(int index, float value) DT_FLOAT.TensorProto.Builder.setHalfVal(int index, int value) DT_HALF, DT_BFLOAT16.TensorProto.Builder.setInt64Val(int index, long value) DT_INT64TensorProto.Builder.setIntVal(int index, int value) DT_INT32, DT_INT16, DT_UINT16, DT_INT8, DT_UINT8.TensorProto.Builder.setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) TensorProto.Builder.setResourceHandleVal(int index, ResourceHandleProto value) DT_RESOURCETensorProto.Builder.setResourceHandleVal(int index, ResourceHandleProto.Builder builderForValue) DT_RESOURCETensorProto.Builder.setScomplexVal(int index, float value) DT_COMPLEX64. scomplex_val(2*i) and scomplex_val(2*i+1) are real and imaginary parts of i-th single precision complex.TensorProto.Builder.setStringVal(int index, ByteString value) DT_STRINGTensorProto.Builder.setTensorContent(ByteString value) Serialized raw tensor content from either Tensor::AsProtoTensorContent or memcpy in tensorflow::grpc::EncodeTensorToByteBuffer.TensorProto.Builder.setTensorShape(TensorShapeProto value) Shape of the tensor.TensorProto.Builder.setTensorShape(TensorShapeProto.Builder builderForValue) Shape of the tensor.TensorProto.Builder.setUint32Val(int index, int value) DT_UINT32TensorProto.Builder.setUint64Val(int index, long value) DT_UINT64final TensorProto.BuilderTensorProto.Builder.setUnknownFields(UnknownFieldSet unknownFields) TensorProto.Builder.setVariantVal(int index, VariantTensorDataProto value) DT_VARIANTTensorProto.Builder.setVariantVal(int index, VariantTensorDataProto.Builder builderForValue) DT_VARIANTTensorProto.Builder.setVersionNumber(int value) Version number.TensorProto.toBuilder()Methods in org.tensorflow.proto that return types with arguments of type TensorProto.BuilderModifier and TypeMethodDescriptionAttrValue.ListValue.Builder.getTensorBuilderList()"list(tensor)"Execution.Builder.getTensorProtosBuilderList()Output Tensor values in the type described by `tensor_value_type`.VariantTensorDataProto.Builder.getTensorsBuilderList()Tensors contained within objects being serialized.Methods in org.tensorflow.proto with parameters of type TensorProto.BuilderModifier and TypeMethodDescriptionAttrValue.ListValue.Builder.addTensor(int index, TensorProto.Builder builderForValue) "list(tensor)"AttrValue.ListValue.Builder.addTensor(TensorProto.Builder builderForValue) "list(tensor)"Execution.Builder.addTensorProtos(int index, TensorProto.Builder builderForValue) Output Tensor values in the type described by `tensor_value_type`.Execution.Builder.addTensorProtos(TensorProto.Builder builderForValue) Output Tensor values in the type described by `tensor_value_type`.VariantTensorDataProto.Builder.addTensors(int index, TensorProto.Builder builderForValue) Tensors contained within objects being serialized.VariantTensorDataProto.Builder.addTensors(TensorProto.Builder builderForValue) Tensors contained within objects being serialized.SavedSlice.Builder.setData(TensorProto.Builder builderForValue) The raw data of the slice is stored as a TensorProto.FixedLenFeatureProto.Builder.setDefaultValue(TensorProto.Builder builderForValue) .tensorflow.TensorProto default_value = 3;Struct.BoundedTensorSpecProto.Builder.setMaximum(TensorProto.Builder builderForValue) .tensorflow.TensorProto maximum = 5;Struct.BoundedTensorSpecProto.Builder.setMinimum(TensorProto.Builder builderForValue) .tensorflow.TensorProto minimum = 4;Struct.StructuredValue.Builder.setNumpyValue(TensorProto.Builder builderForValue) Represents a value for np.ndarray.AttrValue.Builder.setTensor(TensorProto.Builder builderForValue) "tensor"AttrValue.ListValue.Builder.setTensor(int index, TensorProto.Builder builderForValue) "list(tensor)"NamedTensorProto.Builder.setTensor(TensorProto.Builder builderForValue) The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors.Summary.Value.Builder.setTensor(TensorProto.Builder builderForValue) .tensorflow.TensorProto tensor = 8;GraphExecutionTrace.Builder.setTensorProto(TensorProto.Builder builderForValue) Tensor value in the type described by `tensor_value_type`.Execution.Builder.setTensorProtos(int index, TensorProto.Builder builderForValue) Output Tensor values in the type described by `tensor_value_type`.VariantTensorDataProto.Builder.setTensors(int index, TensorProto.Builder builderForValue) Tensors contained within objects being serialized.Struct.StructuredValue.Builder.setTensorValue(TensorProto.Builder builderForValue) Represents a value for tf.Tensor.OpPerformanceData.OpInfo.TensorProperties.Builder.setValue(TensorProto.Builder builderForValue) .tensorflow.TensorProto value = 3; -
Uses of TensorProto.Builder in org.tensorflow.proto.data
Methods in org.tensorflow.proto.data that return TensorProto.BuilderModifier and TypeMethodDescriptionDataset.UncompressedElement.Builder.addComponentsBuilder()repeated .tensorflow.TensorProto components = 1;Dataset.UncompressedElement.Builder.addComponentsBuilder(int index) repeated .tensorflow.TensorProto components = 1;Dataset.UncompressedElement.Builder.getComponentsBuilder(int index) repeated .tensorflow.TensorProto components = 1;Methods in org.tensorflow.proto.data that return types with arguments of type TensorProto.BuilderModifier and TypeMethodDescriptionDataset.UncompressedElement.Builder.getComponentsBuilderList()repeated .tensorflow.TensorProto components = 1;Methods in org.tensorflow.proto.data with parameters of type TensorProto.BuilderModifier and TypeMethodDescriptionDataset.UncompressedElement.Builder.addComponents(int index, TensorProto.Builder builderForValue) repeated .tensorflow.TensorProto components = 1;Dataset.UncompressedElement.Builder.addComponents(TensorProto.Builder builderForValue) repeated .tensorflow.TensorProto components = 1;Dataset.UncompressedElement.Builder.setComponents(int index, TensorProto.Builder builderForValue) repeated .tensorflow.TensorProto components = 1; -
Uses of TensorProto.Builder in org.tensorflow.proto.data.experimental
Methods in org.tensorflow.proto.data.experimental that return TensorProto.BuilderModifier and TypeMethodDescriptionSnapshot.SnapshotRecord.Builder.addTensorBuilder()repeated .tensorflow.TensorProto tensor = 1;Snapshot.SnapshotRecord.Builder.addTensorBuilder(int index) repeated .tensorflow.TensorProto tensor = 1;Snapshot.SnapshotRecord.Builder.getTensorBuilder(int index) repeated .tensorflow.TensorProto tensor = 1;Methods in org.tensorflow.proto.data.experimental that return types with arguments of type TensorProto.BuilderModifier and TypeMethodDescriptionSnapshot.SnapshotRecord.Builder.getTensorBuilderList()repeated .tensorflow.TensorProto tensor = 1;Methods in org.tensorflow.proto.data.experimental with parameters of type TensorProto.BuilderModifier and TypeMethodDescriptionSnapshot.SnapshotRecord.Builder.addTensor(int index, TensorProto.Builder builderForValue) repeated .tensorflow.TensorProto tensor = 1;Snapshot.SnapshotRecord.Builder.addTensor(TensorProto.Builder builderForValue) repeated .tensorflow.TensorProto tensor = 1;Snapshot.SnapshotRecord.Builder.setTensor(int index, TensorProto.Builder builderForValue) repeated .tensorflow.TensorProto tensor = 1;