FunctionDef

lớp cuối cùng công khai 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.
 
Tenorflow loại tensorflow.FunctionDef

Các lớp lồng nhau

lớp học FunctionDef.ArgAttrs
 Attributes for function arguments. 
giao diện FunctionDef.ArgAttrsOrBuilder
lớp học FunctionDef.Builder
 A function can be instantiated when the runtime can bind every attr
 with a value. 

Hằng số

int ARG_ATTR_FIELD_NUMBER
int ATTR_FIELD_NUMBER
int Control_RET_FIELD_NUMBER
int NODE_DEF_FIELD_NUMBER
int RESOURCE_ARG_UNIQUE_ID_FIELD_NUMBER
int RET_FIELD_NUMBER
int SIGNATURE_FIELD_NUMBER

Phương pháp công khai

boolean
chứaArgAttr (khóa int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
boolean
chứaAttr (Khóa chuỗi)
 Attributes specific to this function definition.
boolean
chứaControlRet (Khóa chuỗi)
 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
boolean
chứaResourceArgUniqueId (khóa int)
 Unique IDs for each resource argument, used to track aliasing resources.
boolean
chứaRet (Khóa chuỗi)
 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
boolean
bằng (Đối tượng obj)
Bản đồ<Số nguyên, FunctionDef.ArgAttrs >
getArgAttr ()
Thay vào đó hãy sử dụng getArgAttrMap() .
int
getArgAttrCount ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
Bản đồ<Số nguyên, FunctionDef.ArgAttrs >
getArgAttrMap ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
FunctionDef.ArgAttrs
getArgAttrOrDefault (khóa int, FunctionDef.ArgAttrs defaultValue)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
FunctionDef.ArgAttrs
getArgAttrOrThrow (khóa int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
Bản đồ<Chuỗi, AttrValue >
getAttr ()
Thay vào đó hãy sử dụng getAttrMap() .
int
getAttrCount ()
 Attributes specific to this function definition.
Bản đồ<Chuỗi, AttrValue >
getAttrMap ()
 Attributes specific to this function definition.
Giá trị Attr
getAttrOrDefault (Khóa chuỗi, AttrValue defaultValue)
 Attributes specific to this function definition.
Giá trị Attr
getAttrOrThrow (Khóa chuỗi)
 Attributes specific to this function definition.
Bản đồ<Chuỗi, Chuỗi>
getControlRet ()
Thay vào đó hãy sử dụng 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.
Bản đồ<Chuỗi, Chuỗi>
getControlRetMap ()
 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
Sợi dây
getControlRetOrDefault (Khóa chuỗi, Chuỗi defaultValue)
 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
Sợi dây
getControlRetOrThrow (Khóa chuỗi)
 A mapping from control output names from `signature` to node names in
 `node_def` which should be control outputs of this function.
hàm định nghĩa tĩnh
Chức năngDef
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng
NodeDef
getNodeDef (chỉ mục int)
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
int
getNodeDefCount ()
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
Danh sách< NodeDef >
getNodeDefList ()
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
NodeDefOrBuilder
getNodeDefOrBuilder (chỉ mục int)
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
Danh sách<? mở rộng NodeDefOrBuilder >
getNodeDefOrBuilderList ()
 By convention, "op" in node_def is resolved by consulting with a
 user-defined library first.
Bản đồ<Số nguyên, Số nguyên>
getResourceArgUniqueId ()
Thay vào đó hãy sử dụng getResourceArgUniqueIdMap() .
int
getResourceArgUniqueIdCount ()
 Unique IDs for each resource argument, used to track aliasing resources.
Bản đồ<Số nguyên, Số nguyên>
getResourceArgUniqueIdMap ()
 Unique IDs for each resource argument, used to track aliasing resources.
int
getResourceArgUniqueIdOrDefault (khóa int, int defaultValue)
 Unique IDs for each resource argument, used to track aliasing resources.
int
getResourceArgUniqueIdOrThrow (khóa int)
 Unique IDs for each resource argument, used to track aliasing resources.
Bản đồ<Chuỗi, Chuỗi>
getRet ()
Thay vào đó hãy sử dụng 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.
Bản đồ<Chuỗi, Chuỗi>
getRetMap ()
 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
Sợi dây
getRetOrDefault (Khóa chuỗi, Giá trị mặc định của chuỗi)
 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
Sợi dây
getRetOrThrow (Khóa chuỗi)
 A mapping from the output arg names from `signature` to the
 outputs from `node_def` that should be returned by the function.
int
OpDef
lấy chữ ký ()
 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 cuối cùng
boolean
hasSignature ()
 The definition of the function's name, arguments, return values,
 attrs etc.
int
boolean cuối cùng
Chức năng tĩnhDef.Builder
Chức năng tĩnhDef.Builder
newBuilder ( nguyên mẫu FunctionDef )
FunctionDef.Builder
hàm định nghĩa tĩnh
phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào)
hàm định nghĩa tĩnh
phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào, com.google.protobuf.ExtensionRegistryLite tiện ích mở rộngRegistry)
hàm định nghĩa tĩnh
ParseFrom (Dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
hàm định nghĩa tĩnh
ParseFrom (đầu vào com.google.protobuf.CodedInputStream)
hàm định nghĩa tĩnh
ParseFrom (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
hàm định nghĩa tĩnh
ParseFrom (dữ liệu ByteBuffer)
hàm định nghĩa tĩnh
ParseFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
hàm định nghĩa tĩnh
ParseFrom (dữ liệu com.google.protobuf.ByteString)
hàm định nghĩa tĩnh
ParseFrom (Đầu vào inputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
hàm định nghĩa tĩnh
ParsFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
tĩnh
FunctionDef.Builder
trống rỗng
writeTo (đầu ra com.google.protobuf.CodedOutputStream)

Phương pháp kế thừa

Hằng số

int tĩnh công khai ARG_ATTR_FIELD_NUMBER

Giá trị không đổi: 7

int tĩnh công khai ATTR_FIELD_NUMBER

Giá trị không đổi: 5

int cuối cùng tĩnh công khai Control_RET_FIELD_NUMBER

Giá trị không đổi: 6

int tĩnh công khai NODE_DEF_FIELD_NUMBER

Giá trị không đổi: 3

int cuối cùng tĩnh công khai RESOURCE_ARG_UNIQUE_ID_FIELD_NUMBER

Giá trị không đổi: 8

int tĩnh cuối cùng RET_FIELD_NUMBER

Giá trị không đổi: 4

int tĩnh cuối cùng SIGNATURE_FIELD_NUMBER

Giá trị không đổi: 1

Phương pháp công khai

boolean công khai chứaArgAttr (khóa int)

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

boolean công khai chứaAttr (Khóa chuỗi)

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

boolean công khai chứaControlRet (Khóa chuỗi)

 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;

boolean công khai chứaResourceArgUniqueId (khóa 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;

boolean công khai chứaRet (Khóa chuỗi)

 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;

boolean công khai bằng (Object obj)

Bản đồ công khai<Integer, FunctionDef.ArgAttrs > getArgAttr ()

Thay vào đó hãy sử dụng getArgAttrMap() .

int công khai getArgAttrCount ()

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

Bản đồ công khai<Integer, FunctionDef.ArgAttrs > getArgAttrMap ()

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

public FunctionDef.ArgAttrs getArgAttrOrDefault (khóa int, FunctionDef.ArgAttrs defaultValue)

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

public FunctionDef.ArgAttrs getArgAttrOrThrow (khóa int)

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

Bản đồ công khai<String, AttrValue > getAttr ()

Thay vào đó hãy sử dụng getAttrMap() .

int công khai getAttrCount ()

bản đồ

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

Bản đồ công khai<String, AttrValue > getAttrMap ()

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

public AttrValue getAttrOrDefault (Khóa chuỗi, AttrValue defaultValue)

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

công khai AttrValue getAttrOrThrow (Khóa chuỗi)

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

Bản đồ công khai<String, String> getControlRet ()

Thay vào đó hãy sử dụng getControlRetMap() .

int công khai 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;

Bản đồ công khai<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;

Chuỗi công khai getControlRetOrDefault (Khóa chuỗi, Chuỗi defaultValue)

 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;

Chuỗi công khai getControlRetOrThrow (Khóa chuỗi)

 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;

tĩnh công khai FunctionDef getDefaultInstance ()

public FunctionDef getDefaultInstanceForType ()

công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()

NodeDef công khai getNodeDef (chỉ mục int)

 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 công khai 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;

Danh sách công khai< 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 công khai getNodeDefOrBuilder (chỉ mục int)

 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;

Danh sách công khai<? mở rộng 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;

công cộng getParserForType ()

Bản đồ công khai<Số nguyên, Số nguyên> getResourceArgUniqueId ()

Thay vào đó hãy sử dụng getResourceArgUniqueIdMap() .

int công khai 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;

Bản đồ công khai<Số nguyên, Số nguyên> 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 công khai getResourceArgUniqueIdOrDefault (khóa 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 công khai getResourceArgUniqueIdOrThrow (khóa 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;

Bản đồ công khai<String, String> getRet ()

Thay vào đó hãy sử dụng getRetMap() .

int công khai 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;

Bản đồ công khai<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;

Chuỗi công khai getRetOrDefault (Khóa chuỗi, Chuỗi defaultValue)

 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;

Chuỗi công khai getRetOrThrow (Khóa chuỗi)

 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 công khai getSerializedSize ()

OpDef công khai getSignature ()

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

OpDefOrBuilder công khai getSignatureOrBuilder ()

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

trận chung kết công khai com.google.protobuf.UnknownFieldSet getUnknownFields ()

boolean công khai hasSignature ()

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

mã băm int công khai ()

boolean cuối cùng công khai được khởi tạo ()

tĩnh công khai FunctionDef.Builder newBuilder ()

public static FunctionDef.Builder newBuilder ( nguyên mẫu FunctionDef )

public FunctionDef.Builder newBuilderForType ()

public static FunctionDef phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào)

Ném
IOException

public static FunctionDef phân tích cú phápDelimitedFrom (Đầu vào InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

public static FunctionDef parsFrom (Dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
Giao thức đệm ngoại lệ không hợp lệ

phân tích cú pháp tĩnh công khai FunctionDefFrom (đầu vào com.google.protobuf.CodedInputStream)

Ném
IOException

public static FunctionDef phân tích từ (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
Giao thức đệm ngoại lệ không hợp lệ

public static FunctionDef phân tích từ (dữ liệu ByteBuffer)

Ném
Giao thức đệm ngoại lệ không hợp lệ

public static FunctionDef phân tích cú phápFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

phân tích cú pháp tĩnh công khai FunctionDefFrom (dữ liệu com.google.protobuf.ByteString)

Ném
Giao thức đệm ngoại lệ không hợp lệ

public static FunctionDef phân tích từ (đầu vào InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

public static FunctionDef phân tích cú phápFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
Giao thức đệm ngoại lệ không hợp lệ

công cộng tĩnh trình phân tích cú pháp ()

public FunctionDef.Builder toBuilder ()

public void writeTo (đầu ra com.google.protobuf.CodedOutputStream)

Ném
IOException