OpDef.ArgDefOrBuilder

واجهة ثابتة عامة OpDef.ArgDefOrBuilder
الفئات الفرعية غير المباشرة المعروفة

الأساليب العامة

سلسلة مجردة
الحصول على الوصف ()
 Human readable description.
مجردة com.google.protobuf.ByteString
الحصول على الوصف بايت ()
 Human readable description.
منطقية مجردة
getIsRef ()
 For inputs: if true, the inputs are required to be refs.
سلسلة مجردة
الحصول على الاسم ()
 Name for the input/output.
مجردة com.google.protobuf.ByteString
الحصول على اسم بايت ()
 Name for the input/output.
سلسلة مجردة
getNumberAttr ()
 if specified, attr must have type "int"
 
string number_attr = 5;
مجردة com.google.protobuf.ByteString
الحصول علىNumberAttrBytes ()
 if specified, attr must have type "int"
 
string number_attr = 5;
نوع البيانات الملخص
الحصول على النوع ()
 Describes the type of one or more tensors that are accepted/produced
 by this input/output arg.
سلسلة مجردة
الحصول علىTypeAttr ()
 if specified, attr must have type "type"
 
string type_attr = 4;
مجردة com.google.protobuf.ByteString
الحصول علىTypeAttrBytes ()
 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.
كثافة العمليات مجردة
الحصول علىTypeValue ()
 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;