OpDef.ArgDefOrBuilder
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
زیر کلاس های غیر مستقیم شناخته شده |
روش های عمومی
رشته انتزاعی | |
چکیده com.google.protobuf.ByteString | |
بولی انتزاعی | getIsRef ()
For inputs: if true, the inputs are required to be refs. |
رشته انتزاعی | getName ()
Name for the input/output. |
چکیده com.google.protobuf.ByteString | |
رشته انتزاعی | getNumberAttr ()
if specified, attr must have type "int"
string number_attr = 5; |
چکیده com.google.protobuf.ByteString | |
نوع داده انتزاعی | getType ()
Describes the type of one or more tensors that are accepted/produced
by this input/output arg. |
رشته انتزاعی | getTypeAttr ()
if specified, attr must have type "type"
string type_attr = 4; |
چکیده com.google.protobuf.ByteString | getTypeAttrBytes ()
if specified, attr must have type "type"
string type_attr = 4; |
رشته انتزاعی | getTypeListAttr ()
If specified, attr must have type "list(type)", and none of
type, type_attr, and number_attr may be specified. |
چکیده com.google.protobuf.ByteString | getTypeListAttrBytes ()
If specified, attr must have type "list(type)", and none of
type, type_attr, and number_attr may be specified. |
انتزاعی | getTypeValue ()
Describes the type of one or more tensors that are accepted/produced
by this input/output arg. |
روش های عمومی
رشته انتزاعی عمومی getDescription ()
Human readable description.
string description = 2;
چکیده عمومی com.google.protobuf.ByteString getDescriptionBytes ()
Human readable description.
string description = 2;
getIsRef بولی انتزاعی عمومی ()
For inputs: if true, the inputs are required to be refs.
By default, inputs can be either refs or non-refs.
For outputs: if true, outputs are refs, otherwise they are not.
bool is_ref = 16;
رشته انتزاعی عمومی getName ()
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
چکیده عمومی com.google.protobuf.ByteString getNameBytes ()
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
رشته انتزاعی عمومی getNumberAttr ()
if specified, attr must have type "int"
string number_attr = 5;
چکیده عمومی com.google.protobuf.ByteString getNumberAttrBytes ()
if specified, attr must have type "int"
string number_attr = 5;
انتزاعی عمومی DataType getType ()
Describes the type of one or more tensors that are accepted/produced
by this input/output arg. The only legal combinations are:
* For a single tensor: either the "type" field is set or the
"type_attr" field is set to the name of an attr with type "type".
* For a sequence of tensors with the same type: the "number_attr"
field will be set to the name of an attr with type "int", and
either the "type" or "type_attr" field will be set as for
single tensors.
* For a sequence of tensors, the "type_list_attr" field will be set
to the name of an attr with type "list(type)".
.tensorflow.DataType type = 3;
رشته انتزاعی عمومی getTypeAttr ()
if specified, attr must have type "type"
string type_attr = 4;
چکیده عمومی com.google.protobuf.ByteString getTypeAttrBytes ()
if specified, attr must have type "type"
string type_attr = 4;
رشته انتزاعی عمومی getTypeListAttr ()
If specified, attr must have type "list(type)", and none of
type, type_attr, and number_attr may be specified.
string type_list_attr = 6;
چکیده عمومی com.google.protobuf.ByteString getTypeListAttrBytes ()
If specified, attr must have type "list(type)", and none of
type, type_attr, and number_attr may be specified.
string type_list_attr = 6;
انتزاعی عمومی int getTypeValue ()
Describes the type of one or more tensors that are accepted/produced
by this input/output arg. The only legal combinations are:
* For a single tensor: either the "type" field is set or the
"type_attr" field is set to the name of an attr with type "type".
* For a sequence of tensors with the same type: the "number_attr"
field will be set to the name of an attr with type "int", and
either the "type" or "type_attr" field will be set as for
single tensors.
* For a sequence of tensors, the "type_list_attr" field will be set
to the name of an attr with type "list(type)".
.tensorflow.DataType type = 3;
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-27 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-27 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# OpDef.ArgDefOrBuilder\n\npublic static interface **OpDef.ArgDefOrBuilder** \n\n|---|---|---|\n| Known Indirect Subclasses [OpDef.ArgDef](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.ArgDef), [OpDef.ArgDef.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.ArgDef.Builder) |------------------------------------------------------------------------------------------------|---------------------------------------------| | [OpDef.ArgDef](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.ArgDef) | ``` For describing inputs and outputs. ``` | | [OpDef.ArgDef.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.ArgDef.Builder) | ``` For describing inputs and outputs. ``` | |||\n\n### Public Methods\n\n|---------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract String | [getDescription](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.ArgDefOrBuilder#getDescription())() ``` Human readable description. ``` |\n| abstract com.google.protobuf.ByteString | [getDescriptionBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.ArgDefOrBuilder#getDescriptionBytes())() ``` Human readable description. ``` |\n| abstract boolean | [getIsRef](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.ArgDefOrBuilder#getIsRef())() ``` For inputs: if true, the inputs are required to be refs. ``` |\n| abstract String | [getName](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.ArgDefOrBuilder#getName())() ``` Name for the input/output. ``` |\n| abstract com.google.protobuf.ByteString | [getNameBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.ArgDefOrBuilder#getNameBytes())() ``` Name for the input/output. ``` |\n| abstract String | [getNumberAttr](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.ArgDefOrBuilder#getNumberAttr())() ``` if specified, attr must have type \"int\" ``` `string number_attr = 5;` |\n| abstract com.google.protobuf.ByteString | [getNumberAttrBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.ArgDefOrBuilder#getNumberAttrBytes())() ``` if specified, attr must have type \"int\" ``` `string number_attr = 5;` |\n| abstract [DataType](/jvm/api_docs/java/org/tensorflow/proto/framework/DataType) | [getType](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.ArgDefOrBuilder#getType())() ``` Describes the type of one or more tensors that are accepted/produced by this input/output arg. ``` |\n| abstract String | [getTypeAttr](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.ArgDefOrBuilder#getTypeAttr())() ``` if specified, attr must have type \"type\" ``` `string type_attr = 4;` |\n| abstract com.google.protobuf.ByteString | [getTypeAttrBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.ArgDefOrBuilder#getTypeAttrBytes())() ``` if specified, attr must have type \"type\" ``` `string type_attr = 4;` |\n| abstract String | [getTypeListAttr](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.ArgDefOrBuilder#getTypeListAttr())() ``` If specified, attr must have type \"list(type)\", and none of type, type_attr, and number_attr may be specified. ``` |\n| abstract com.google.protobuf.ByteString | [getTypeListAttrBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.ArgDefOrBuilder#getTypeListAttrBytes())() ``` If specified, attr must have type \"list(type)\", and none of type, type_attr, and number_attr may be specified. ``` |\n| abstract int | [getTypeValue](/jvm/api_docs/java/org/tensorflow/proto/framework/OpDef.ArgDefOrBuilder#getTypeValue())() ``` Describes the type of one or more tensors that are accepted/produced by this input/output arg. ``` |\n\nPublic Methods\n--------------\n\n#### public abstract String\n**getDescription**\n()\n\n\u003cbr /\u003e\n\n```\n Human readable description.\n \n```\n`string description = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getDescriptionBytes**\n()\n\n\u003cbr /\u003e\n\n```\n Human readable description.\n \n```\n`string description = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract boolean\n**getIsRef**\n()\n\n\u003cbr /\u003e\n\n```\n For inputs: if true, the inputs are required to be refs.\n By default, inputs can be either refs or non-refs.\n For outputs: if true, outputs are refs, otherwise they are not.\n \n```\n`bool is_ref = 16;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getName**\n()\n\n\u003cbr /\u003e\n\n```\n Name for the input/output. Should match the regexp \"[a-z][a-z0-9_]*\".\n \n```\n`string name = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getNameBytes**\n()\n\n\u003cbr /\u003e\n\n```\n Name for the input/output. Should match the regexp \"[a-z][a-z0-9_]*\".\n \n```\n`string name = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getNumberAttr**\n()\n\n\u003cbr /\u003e\n\n```\n if specified, attr must have type \"int\"\n \n```\n`string number_attr = 5;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getNumberAttrBytes**\n()\n\n\u003cbr /\u003e\n\n```\n if specified, attr must have type \"int\"\n \n```\n`string number_attr = 5;`\n\n\u003cbr /\u003e\n\n#### public abstract [DataType](/jvm/api_docs/java/org/tensorflow/proto/framework/DataType)\n**getType**\n()\n\n\u003cbr /\u003e\n\n```\n Describes the type of one or more tensors that are accepted/produced\n by this input/output arg. The only legal combinations are:\n * For a single tensor: either the \"type\" field is set or the\n \"type_attr\" field is set to the name of an attr with type \"type\".\n * For a sequence of tensors with the same type: the \"number_attr\"\n field will be set to the name of an attr with type \"int\", and\n either the \"type\" or \"type_attr\" field will be set as for\n single tensors.\n * For a sequence of tensors, the \"type_list_attr\" field will be set\n to the name of an attr with type \"list(type)\".\n \n```\n`.tensorflow.DataType type = 3;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getTypeAttr**\n()\n\n\u003cbr /\u003e\n\n```\n if specified, attr must have type \"type\"\n \n```\n`string type_attr = 4;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getTypeAttrBytes**\n()\n\n\u003cbr /\u003e\n\n```\n if specified, attr must have type \"type\"\n \n```\n`string type_attr = 4;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getTypeListAttr**\n()\n\n\u003cbr /\u003e\n\n```\n If specified, attr must have type \"list(type)\", and none of\n type, type_attr, and number_attr may be specified.\n \n```\n`string type_list_attr = 6;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getTypeListAttrBytes**\n()\n\n\u003cbr /\u003e\n\n```\n If specified, attr must have type \"list(type)\", and none of\n type, type_attr, and number_attr may be specified.\n \n```\n`string type_list_attr = 6;`\n\n\u003cbr /\u003e\n\n#### public abstract int\n**getTypeValue**\n()\n\n\u003cbr /\u003e\n\n```\n Describes the type of one or more tensors that are accepted/produced\n by this input/output arg. The only legal combinations are:\n * For a single tensor: either the \"type\" field is set or the\n \"type_attr\" field is set to the name of an attr with type \"type\".\n * For a sequence of tensors with the same type: the \"number_attr\"\n field will be set to the name of an attr with type \"int\", and\n either the \"type\" or \"type_attr\" field will be set as for\n single tensors.\n * For a sequence of tensors, the \"type_list_attr\" field will be set\n to the name of an attr with type \"list(type)\".\n \n```\n`.tensorflow.DataType type = 3;`\n\n\u003cbr /\u003e"]]