Uses of Class
org.tensorflow.framework.TensorProto.Builder
Packages that use TensorProto.Builder
-
Uses of TensorProto.Builder in org.tensorflow.framework
Methods in org.tensorflow.framework 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 com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.ByteString value) DT_STRINGAttrValue.ListValue.Builder.addTensorBuilder()"list(tensor)"AttrValue.ListValue.Builder.addTensorBuilder(int index) "list(tensor)"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(com.google.protobuf.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(com.google.protobuf.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()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.VariantTensorDataProto.Builder.getTensorsBuilder(int index) Tensors contained within objects being serialized.TensorProto.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) TensorProto.Builder.mergeFrom(com.google.protobuf.Message other) TensorProto.Builder.mergeFrom(TensorProto other) TensorProto.Builder.mergeTensorShape(TensorShapeProto value) Shape of the tensor.final TensorProto.BuilderTensorProto.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) static TensorProto.BuilderTensorProto.newBuilder()static TensorProto.BuilderTensorProto.newBuilder(TensorProto prototype) TensorProto.newBuilderForType()protected TensorProto.BuilderTensorProto.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) SignatureDef.Builder.putDefaultsBuilderIfAbsent(String key) Named input to corresponding default values if any.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.setFloat8Val(com.google.protobuf.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(com.google.protobuf.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, com.google.protobuf.ByteString value) DT_STRINGTensorProto.Builder.setTensorContent(com.google.protobuf.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(com.google.protobuf.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.framework that return types with arguments of type TensorProto.BuilderModifier and TypeMethodDescriptionAttrValue.ListValue.Builder.getTensorBuilderList()"list(tensor)"VariantTensorDataProto.Builder.getTensorsBuilderList()Tensors contained within objects being serialized.Methods in org.tensorflow.framework 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)"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.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.VariantTensorDataProto.Builder.setTensors(int index, TensorProto.Builder builderForValue) Tensors contained within objects being serialized. -
Uses of TensorProto.Builder in tensorflow
Methods in tensorflow that return TensorProto.BuilderModifier and TypeMethodDescriptionStruct.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.Struct.StructuredValue.Builder.getTensorValueBuilder()Represents a value for tf.Tensor.Methods in tensorflow with parameters of type TensorProto.BuilderModifier and TypeMethodDescriptionStruct.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.Struct.StructuredValue.Builder.setTensorValue(TensorProto.Builder builderForValue) Represents a value for tf.Tensor. -
Uses of TensorProto.Builder in tensorflow.serving
Methods in tensorflow.serving that return TensorProto.BuilderModifier and TypeMethodDescriptionPredict.PredictRequest.Builder.putInputsBuilderIfAbsent(String key) Input tensors.Predict.PredictResponse.Builder.putOutputsBuilderIfAbsent(String key) Output tensors.