Uses of Class
org.tensorflow.framework.AttrValue.Builder
Packages that use AttrValue.Builder
-
Uses of AttrValue.Builder in org.tensorflow.framework
Methods in org.tensorflow.framework that return AttrValue.BuilderModifier and TypeMethodDescriptionAttrValue.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) AttrValue.Builder.clear()AttrValue.Builder.clearB()"bool"AttrValue.Builder.clearF()"float"AttrValue.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) AttrValue.Builder.clearFunc()"func" represents a function. func.name is a function's name or a primitive op's name. func.attr.first is the name of an attr defined for that function. func.attr.second is the value for that attr in the instantiation.AttrValue.Builder.clearI()"int"AttrValue.Builder.clearList()any "list(...)"AttrValue.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) AttrValue.Builder.clearPlaceholder()This is a placeholder only used in nodes defined inside a function.AttrValue.Builder.clearS()"string"AttrValue.Builder.clearShape()"shape"AttrValue.Builder.clearTensor()"tensor"AttrValue.Builder.clearType()"type"AttrValue.Builder.clearValue()AttrValue.Builder.clone()OpDef.AttrDef.Builder.getAllowedValuesBuilder()The set of allowed values.OpDef.AttrDef.Builder.getDefaultValueBuilder()A reasonable default for this attribute if the user does not supply a value.AttrValue.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) AttrValue.Builder.mergeFrom(com.google.protobuf.Message other) AttrValue.Builder.mergeFunc(NameAttrList value) "func" represents a function. func.name is a function's name or a primitive op's name. func.attr.first is the name of an attr defined for that function. func.attr.second is the value for that attr in the instantiation.AttrValue.Builder.mergeList(AttrValue.ListValue value) any "list(...)"AttrValue.Builder.mergeShape(TensorShapeProto value) "shape"AttrValue.Builder.mergeTensor(TensorProto value) "tensor"final AttrValue.BuilderAttrValue.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) static AttrValue.BuilderAttrValue.newBuilder()static AttrValue.BuilderAttrValue.newBuilder(AttrValue prototype) AttrValue.newBuilderForType()protected AttrValue.BuilderAttrValue.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) FunctionDef.ArgAttrs.Builder.putAttrBuilderIfAbsent(String key) map<string, .tensorflow.AttrValue> attr = 1;FunctionDef.Builder.putAttrBuilderIfAbsent(String key) Attributes specific to this function definition.NameAttrList.Builder.putAttrBuilderIfAbsent(String key) map<string, .tensorflow.AttrValue> attr = 2;NodeDef.Builder.putAttrBuilderIfAbsent(String key) Operation-specific graph-construction-time configuration.RewriterConfig.CustomGraphOptimizer.Builder.putParameterMapBuilderIfAbsent(String key) map<string, .tensorflow.AttrValue> parameter_map = 2;AttrValue.Builder.setB(boolean value) "bool"AttrValue.Builder.setF(float value) "float"AttrValue.Builder.setFunc(NameAttrList value) "func" represents a function. func.name is a function's name or a primitive op's name. func.attr.first is the name of an attr defined for that function. func.attr.second is the value for that attr in the instantiation.AttrValue.Builder.setFunc(NameAttrList.Builder builderForValue) "func" represents a function. func.name is a function's name or a primitive op's name. func.attr.first is the name of an attr defined for that function. func.attr.second is the value for that attr in the instantiation.AttrValue.Builder.setI(long value) "int"AttrValue.Builder.setList(AttrValue.ListValue value) any "list(...)"AttrValue.Builder.setList(AttrValue.ListValue.Builder builderForValue) any "list(...)"AttrValue.Builder.setPlaceholder(String value) This is a placeholder only used in nodes defined inside a function.AttrValue.Builder.setPlaceholderBytes(com.google.protobuf.ByteString value) This is a placeholder only used in nodes defined inside a function.AttrValue.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) AttrValue.Builder.setS(com.google.protobuf.ByteString value) "string"AttrValue.Builder.setShape(TensorShapeProto value) "shape"AttrValue.Builder.setShape(TensorShapeProto.Builder builderForValue) "shape"AttrValue.Builder.setTensor(TensorProto value) "tensor"AttrValue.Builder.setTensor(TensorProto.Builder builderForValue) "tensor""type"AttrValue.Builder.setTypeValue(int value) "type"final AttrValue.BuilderAttrValue.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) AttrValue.toBuilder()Methods in org.tensorflow.framework with parameters of type AttrValue.BuilderModifier and TypeMethodDescriptionOpDef.AttrDef.Builder.setAllowedValues(AttrValue.Builder builderForValue) The set of allowed values.OpDef.AttrDef.Builder.setDefaultValue(AttrValue.Builder builderForValue) A reasonable default for this attribute if the user does not supply a value.