Uses of Class
org.tensorflow.proto.AttrValue.Builder
Packages that use AttrValue.Builder
-
Uses of AttrValue.Builder in org.tensorflow.proto
Subclasses with type arguments of type AttrValue.Builder in org.tensorflow.protoModifier and TypeClassDescriptionstatic final classProtocol buffer representing the value for an attr used to configure an Op.Methods in org.tensorflow.proto that return AttrValue.BuilderModifier and TypeMethodDescriptionAttrValue.Builder.clear()AttrValue.Builder.clearB()"bool"AttrValue.Builder.clearF()"float"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.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()KernelDef.AttrConstraint.Builder.getAllowedValuesBuilder()A list of values that this kernel supports for this attr.OpDef.AttrDef.Builder.getAllowedValuesBuilder()The set of allowed values.ApiDef.Attr.Builder.getDefaultValueBuilder()Specify a new default value to use for this attr.OpDef.AttrDef.Builder.getDefaultValueBuilder()A reasonable default for this attribute if the user does not supply a value.AttrValue.Builder.mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) 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"static AttrValue.BuilderAttrValue.newBuilder()static AttrValue.BuilderAttrValue.newBuilder(AttrValue prototype) AttrValue.newBuilderForType()protected AttrValue.BuilderAttrValue.newBuilderForType(AbstractMessage.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.OpPerformanceData.OpInfo.Builder.putAttrBuilderIfAbsent(String key) Custom parameters impacting the behavior of the op.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(ByteString value) This is a placeholder only used in nodes defined inside a function.AttrValue.Builder.setS(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"AttrValue.toBuilder()Methods in org.tensorflow.proto with parameters of type AttrValue.BuilderModifier and TypeMethodDescriptionKernelDef.AttrConstraint.Builder.setAllowedValues(AttrValue.Builder builderForValue) A list of values that this kernel supports for this attr.OpDef.AttrDef.Builder.setAllowedValues(AttrValue.Builder builderForValue) The set of allowed values.ApiDef.Attr.Builder.setDefaultValue(AttrValue.Builder builderForValue) Specify a new default value to use for this attr.OpDef.AttrDef.Builder.setDefaultValue(AttrValue.Builder builderForValue) A reasonable default for this attribute if the user does not supply a value.