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.addRepeatedField(Descriptors.FieldDescriptor field, Object value) AttrValue.Builder.clear()AttrValue.Builder.clearB()"bool"AttrValue.Builder.clearF()"float"AttrValue.Builder.clearField(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(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()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"final AttrValue.BuilderAttrValue.Builder.mergeUnknownFields(UnknownFieldSet unknownFields) static AttrValue.BuilderAttrValue.newBuilder()static AttrValue.BuilderAttrValue.newBuilder(AttrValue prototype) AttrValue.newBuilderForType()protected AttrValue.BuilderAttrValue.newBuilderForType(GeneratedMessageV3.BuilderParent parent) AttrValue.Builder.setB(boolean value) "bool"AttrValue.Builder.setF(float value) "float"AttrValue.Builder.setField(Descriptors.FieldDescriptor field, Object value) 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.setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 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"final AttrValue.BuilderAttrValue.Builder.setUnknownFields(UnknownFieldSet unknownFields) 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.