FunctionDef

کلاس نهایی عمومی FunctionDef

 A function can be instantiated when the runtime can bind every attr
 with a value. When a GraphDef has a call to a function, it must
 have binding for every attr defined in the signature.
 TODO(zhifengc):
   * device spec, etc.
 
نوع Protobuf tensorflow.FunctionDef

کلاس های تو در تو

کلاس FunctionDef.ArgAttrs
 Attributes for function arguments. 
رابط FunctionDef.ArgAttrsOrBuilder
کلاس FunctionDef.Builder
 A function can be instantiated when the runtime can bind every attr
 with a value. 

ثابت ها

بین المللی ARG_ATTR_FIELD_NUMBER
بین المللی ATTR_FIELD_NUMBER
بین المللی CONTROL_RET_FIELD_NUMBER
بین المللی NODE_DEF_FIELD_NUMBER
بین المللی RESOURCE_ARG_UNIQUE_ID_FIELD_NUMBER
بین المللی RET_FIELD_NUMBER
بین المللی SIGNATURE_FIELD_NUMBER

روش های عمومی

بولی
حاوی ArgAttr (کلید int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
بولی
containAttr (کلید رشته)
 Attributes specific to this function definition.
بولی
containControlRet (کلید رشته)
 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
بولی
حاویResourceArgUniqueId (کلید int)
 Unique IDs for each resource argument, used to track aliasing resources.
بولی
containRet (کلید رشته)
 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
بولی
برابر است (object obj)
Map<Integer, FunctionDef.ArgAttrs >
getArgAttr ()
به جای آن از getArgAttrMap() استفاده کنید.
بین المللی
getArgAttrCount ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
Map<Integer, FunctionDef.ArgAttrs >
getArgAttrMap ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
FunctionDef.ArgAttrs
getArgAttrOrDefault (کلید int، مقدار پیش فرض FunctionDef.ArgAttrs )
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
FunctionDef.ArgAttrs
getArgAttrOrThrow (کلید int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
Map<String, AttrValue >
getAttr ()
به جای آن از getAttrMap() استفاده کنید.
بین المللی
getAttrCount ()
 Attributes specific to this function definition.
Map<String, AttrValue >
getAttrMap ()
 Attributes specific to this function definition.
AttrValue
getAttrOrDefault (کلید رشته، مقدار پیش فرض AttrValue )
 Attributes specific to this function definition.
AttrValue
getAttrOrThrow (کلید رشته)
 Attributes specific to this function definition.
نقشه<رشته، رشته>
getControlRet ()
به جای آن از getControlRetMap() استفاده کنید.
بین المللی
getControlRetCount ()
 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
نقشه<رشته، رشته>
getControlRetMap ()
 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
رشته
getControlRetOrDefault (کلید رشته، مقدار پیش فرض رشته)
 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
رشته
getControlRetOrThrow (کلید رشته)
 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
استاتیک FunctionDef
FunctionDef
نهایی static com.google.protobuf.Descriptors.Descriptor
NodeDef
getNodeDef (شاخص int)
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
بین المللی
getNodeDefCount ()
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
لیست < NodeDef >
getNodeDefList ()
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
NodeDefOrBuilder
getNodeDefOrBuilder (شاخص int)
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
لیست<? NodeDefOrBuilder > را گسترش می دهد
getNodeDefOrBuilderList ()
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
نقشه<Integer, Integer>
getResourceArgUniqueId ()
به جای آن از getResourceArgUniqueIdMap() استفاده کنید.
بین المللی
getResourceArgUniqueIdCount ()
 Unique IDs for each resource argument, used to track aliasing resources.
نقشه<Integer, Integer>
getResourceArgUniqueIdMap ()
 Unique IDs for each resource argument, used to track aliasing resources.
بین المللی
getResourceArgUniqueIdOrDefault (کلید int، مقدار پیش فرض int)
 Unique IDs for each resource argument, used to track aliasing resources.
بین المللی
getResourceArgUniqueIdOrThrow (کلید int)
 Unique IDs for each resource argument, used to track aliasing resources.
نقشه<رشته، رشته>
getRet ()
به جای آن getRetMap() استفاده کنید.
بین المللی
getRetCount ()
 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
نقشه<رشته، رشته>
getRetMap ()
 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
رشته
getRetOrDefault (کلید رشته، مقدار پیش‌فرض رشته)
 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
رشته
getRetOrThrow (کلید رشته)
 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
بین المللی
OpDef
دریافت امضا ()
 The definition of the function's name, arguments, return values,
 attrs etc.
OpDefOrBuilder
getSignatureOrBuilder ()
 The definition of the function's name, arguments, return values,
 attrs etc.
com.google.protobuf.UnknownFieldSet نهایی
بولی
دارای امضا ()
 The definition of the function's name, arguments, return values,
 attrs etc.
بین المللی
بولی نهایی
استاتیک FunctionDef.Builder
استاتیک FunctionDef.Builder
newBuilder (نمونه اولیه FunctionDef )
FunctionDef.Builder
استاتیک FunctionDef
parseDelimitedFrom (ورودی جریان ورودی)
استاتیک FunctionDef
parseDelimitedFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
استاتیک FunctionDef
parseFrom (داده‌های ByteBuffer، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
استاتیک FunctionDef
parseFrom (ورودی com.google.protobuf.CodedInputStream)
استاتیک FunctionDef
parseFrom (بایت[] داده، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
استاتیک FunctionDef
parseFrom (داده های ByteBuffer)
استاتیک FunctionDef
parseFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
استاتیک FunctionDef
parseFrom (داده های com.google.protobuf.ByteString)
استاتیک FunctionDef
parseFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
استاتیک FunctionDef
parseFrom (داده‌های com.google.protobuf.ByteString، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ایستا
FunctionDef.Builder
خالی
writeTo (خروجی com.google.protobuf.CodedOutputStream)

روش های ارثی

ثابت ها

نهایی استاتیک عمومی ARG_ATTR_FIELD_NUMBER

ارزش ثابت: 7

نهایی استاتیک عمومی ATTR_FIELD_NUMBER

ارزش ثابت: 5

نهایی استاتیک عمومی CONTROL_RET_FIELD_NUMBER

مقدار ثابت: 6

نهایی استاتیک عمومی NODE_DEF_FIELD_NUMBER

مقدار ثابت: 3

نهایی استاتیک عمومی RESOURCE_ARG_UNIQUE_ID_FIELD_NUMBER

مقدار ثابت: 8

نهایی استاتیک عمومی RET_FIELD_NUMBER

ارزش ثابت: 4

SIGNATURE_FIELD_NUMBER نهایی استاتیک عمومی

ارزش ثابت: 1

روش های عمومی

بولین عمومی حاوی ArgAttr (کلید int)

map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;

بولین عمومی حاویAttr (کلید رشته)

 Attributes specific to this function definition.
 
map<string, .tensorflow.AttrValue> attr = 5;

بولی عمومی containControlRet (کلید رشته)

 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
 
map<string, string> control_ret = 6;

بولین عمومی حاویResourceArgUniqueId (کلید int)

 Unique IDs for each resource argument, used to track aliasing resources. If
 Argument A and Argument B alias each other, then
 resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index].
 If this field is empty, none of the arguments could alias; otherwise, every
 resource argument should have an entry in this field.
 When instantiated, the unique IDs will be attached to the _Arg nodes'
 "_resource_arg_unique_id" attribute.
 
map<uint32, uint32> resource_arg_unique_id = 8;

بولی عمومی containRet (کلید رشته)

 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
 
map<string, string> ret = 4;

بولین عمومی برابر است (Object Obj)

نقشه عمومی<Integer, FunctionDef.ArgAttrs > getArgAttr ()

به جای آن از getArgAttrMap() استفاده کنید.

عمومی int getArgAttrCount ()

map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;

نقشه عمومی<Integer, FunctionDef.ArgAttrs > getArgAttrMap ()

map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;

عمومی FunctionDef.ArgAttrs getArgAttrOrDefault (کلید int، مقدار پیش فرض FunctionDef.ArgAttrs )

map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;

عمومی FunctionDef.ArgAttrs getArgAttrOrThrow (کلید int)

map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;

نقشه عمومی<String, AttrValue > getAttr ()

به جای آن از getAttrMap() استفاده کنید.

عمومی int getAttrCount ()

 Attributes specific to this function definition.
 
map<string, .tensorflow.AttrValue> attr = 5;

نقشه عمومی<String, AttrValue > getAttrMap ()

 Attributes specific to this function definition.
 
map<string, .tensorflow.AttrValue> attr = 5;

عمومی AttrValue getAttrOrDefault (کلید رشته، AttrValue defaultValue)

 Attributes specific to this function definition.
 
map<string, .tensorflow.AttrValue> attr = 5;

عمومی AttrValue getAttrOrThrow (کلید رشته)

 Attributes specific to this function definition.
 
map<string, .tensorflow.AttrValue> attr = 5;

نقشه عمومی<String, String> getControlRet ()

به جای آن از getControlRetMap() استفاده کنید.

عمومی int getControlRetCount ()

 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
 
map<string, string> control_ret = 6;

نقشه عمومی<String, String> getControlRetMap ()

 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
 
map<string, string> control_ret = 6;

رشته عمومی getControlRetOrDefault (کلید رشته، مقدار پیش فرض رشته)

 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
 
map<string, string> control_ret = 6;

رشته عمومی getControlRetOrThrow (کلید رشته)

 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
 
map<string, string> control_ret = 6;

عمومی استاتیک FunctionDef getDefaultInstance ()

عمومی FunctionDef getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

عمومی NodeDef getNodeDef (int index)

 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first. If not resolved, "func" is assumed to
 be a builtin op.
 
repeated .tensorflow.NodeDef node_def = 3;

عمومی int getNodeDefCount ()

 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first. If not resolved, "func" is assumed to
 be a builtin op.
 
repeated .tensorflow.NodeDef node_def = 3;

لیست عمومی< NodeDef > getNodeDefList ()

 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first. If not resolved, "func" is assumed to
 be a builtin op.
 
repeated .tensorflow.NodeDef node_def = 3;

عمومی NodeDefOrBuilder getNodeDefOrBuilder (int index)

 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first. If not resolved, "func" is assumed to
 be a builtin op.
 
repeated .tensorflow.NodeDef node_def = 3;

لیست عمومی<? NodeDefOrBuilder را گسترش می دهد > getNodeDefOrBuilderList ()

 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first. If not resolved, "func" is assumed to
 be a builtin op.
 
repeated .tensorflow.NodeDef node_def = 3;

عمومی getParserForType ()

نقشه عمومی<Integer, Integer> getResourceArgUniqueId ()

به جای آن از getResourceArgUniqueIdMap() استفاده کنید.

عمومی int getResourceArgUniqueIdCount ()

 Unique IDs for each resource argument, used to track aliasing resources. If
 Argument A and Argument B alias each other, then
 resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index].
 If this field is empty, none of the arguments could alias; otherwise, every
 resource argument should have an entry in this field.
 When instantiated, the unique IDs will be attached to the _Arg nodes'
 "_resource_arg_unique_id" attribute.
 
map<uint32, uint32> resource_arg_unique_id = 8;

نقشه عمومی<Integer, Integer> getResourceArgUniqueIdMap ()

 Unique IDs for each resource argument, used to track aliasing resources. If
 Argument A and Argument B alias each other, then
 resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index].
 If this field is empty, none of the arguments could alias; otherwise, every
 resource argument should have an entry in this field.
 When instantiated, the unique IDs will be attached to the _Arg nodes'
 "_resource_arg_unique_id" attribute.
 
map<uint32, uint32> resource_arg_unique_id = 8;

عمومی int getResourceArgUniqueIdOrDefault (کلید int، int defaultValue)

 Unique IDs for each resource argument, used to track aliasing resources. If
 Argument A and Argument B alias each other, then
 resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index].
 If this field is empty, none of the arguments could alias; otherwise, every
 resource argument should have an entry in this field.
 When instantiated, the unique IDs will be attached to the _Arg nodes'
 "_resource_arg_unique_id" attribute.
 
map<uint32, uint32> resource_arg_unique_id = 8;

عمومی int getResourceArgUniqueIdOrThrow (کلید int)

 Unique IDs for each resource argument, used to track aliasing resources. If
 Argument A and Argument B alias each other, then
 resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index].
 If this field is empty, none of the arguments could alias; otherwise, every
 resource argument should have an entry in this field.
 When instantiated, the unique IDs will be attached to the _Arg nodes'
 "_resource_arg_unique_id" attribute.
 
map<uint32, uint32> resource_arg_unique_id = 8;

نقشه عمومی<String, String> getRet ()

به جای آن getRetMap() استفاده کنید.

عمومی int getRetCount ()

 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
 
map<string, string> ret = 4;

نقشه عمومی<String, String> getRetMap ()

 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
 
map<string, string> ret = 4;

رشته عمومی getRetOrDefault (کلید رشته، مقدار پیش فرض رشته)

 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
 
map<string, string> ret = 4;

رشته عمومی getRetOrThrow (کلید رشته)

 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
 
map<string, string> ret = 4;

عمومی int getSerializedSize ()

عمومی OpDef getSignature ()

 The definition of the function's name, arguments, return values,
 attrs etc.
 
.tensorflow.OpDef signature = 1;

OpDefOrBuilder عمومی getSignatureOrBuilder ()

 The definition of the function's name, arguments, return values,
 attrs etc.
 
.tensorflow.OpDef signature = 1;

عمومی نهایی com.google.protobuf.UnknownFieldSet getUnknownFields ()

دارای امضای بولی عمومی ()

 The definition of the function's name, arguments, return values,
 attrs etc.
 
.tensorflow.OpDef signature = 1;

هش کد عمومی ()

بولین نهایی عمومی isInitialized ()

عمومی استاتیک FunctionDef.Builder newBuilder ()

عمومی استاتیک FunctionDef.Builder newBuilder (نمونه اولیه FunctionDef )

عمومی FunctionDef.Builder newBuilderForType ()

عمومی استاتیک FunctionDef parseDelimitedFrom (ورودی جریان ورودی)

پرتاب می کند
IOException

عمومی استاتیک FunctionDef parseDelimitedFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

عمومی استاتیک FunctionDef parseFrom (داده های ByteBuffer، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
InvalidProtocolBufferException

عمومی استاتیک FunctionDef parseFrom (ورودی com.google.protobuf.CodedInputStream)

پرتاب می کند
IOException

عمومی استاتیک FunctionDef parseFrom (بایت[] داده، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
InvalidProtocolBufferException

عمومی استاتیک FunctionDef parseFrom (داده ByteBuffer)

پرتاب می کند
InvalidProtocolBufferException

عمومی استاتیک FunctionDef parseFrom (com.google.protobuf.CodedInputStream ورودی، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

عمومی استاتیک FunctionDef parseFrom (داده های com.google.protobuf.ByteString)

پرتاب می کند
InvalidProtocolBufferException

عمومی استاتیک FunctionDef parseFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

عمومی استاتیک FunctionDef parseFrom (داده های com.google.protobuf.ByteString، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
InvalidProtocolBufferException

استاتیک عمومی تجزیه کننده ()

عمومی FunctionDef.Builder toBuilder ()

public void writeTo (خروجی com.google.protobuf.CodedOutputStream)

پرتاب می کند
IOException