JobDef

lớp cuối cùng công khai JobDef

 Defines a single job in a TensorFlow cluster.
 
Tenorflow loại tensorflow.JobDef

Các lớp lồng nhau

lớp học JobDef.Builder
 Defines a single job in a TensorFlow cluster. 

Hằng số

int NAME_FIELD_NUMBER
int TASKS_FIELD_NUMBER

Phương pháp công khai

boolean
chứa Nhiệm vụ (khóa int)
 Mapping from task ID to "hostname:port" string.
boolean
bằng (Đối tượng obj)
JobDef tĩnh
JobDef
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng
Sợi dây
lấy Tên ()
 The name of this job.
com.google.protobuf.ByteString
getNameBytes ()
 The name of this job.
int
Bản đồ<Số nguyên, Chuỗi>
getTask ()
Thay vào đó hãy sử dụng getTasksMap() .
int
getTasksCount ()
 Mapping from task ID to "hostname:port" string.
Bản đồ<Số nguyên, Chuỗi>
getTasksMap ()
 Mapping from task ID to "hostname:port" string.
Sợi dây
getTasksOrDefault (khóa int, Chuỗi defaultValue)
 Mapping from task ID to "hostname:port" string.
Sợi dây
getTasksOrThrow (khóa int)
 Mapping from task ID to "hostname:port" string.
com.google.protobuf.UnknownFieldSet cuối cùng
int
boolean cuối cùng
JobDef.Builder tĩnh
newBuilder ( nguyên mẫu JobDef )
JobDef.Builder tĩnh
JobDef.Builder
JobDef tĩnh
phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào)
JobDef 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)
JobDef tĩnh
ParseFrom (dữ liệu ByteBuffer)
JobDef tĩnh
ParseFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
JobDef tĩnh
ParseFrom (Dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
JobDef tĩnh
ParseFrom (đầu vào com.google.protobuf.CodedInputStream)
JobDef tĩnh
ParseFrom (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
JobDef tĩnh
ParseFrom (dữ liệu com.google.protobuf.ByteString)
JobDef tĩnh
ParseFrom (Đầu vào inputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
JobDef tĩnh
ParsFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
tĩnh
JobDef.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 NAME_FIELD_NUMBER

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

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

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

Phương pháp công khai

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

 Mapping from task ID to "hostname:port" string.
 If the `name` field contains "worker", and the `tasks` map contains a
 mapping from 7 to "example.org:2222", then the device prefix
 "/job:worker/task:7" will be assigned to "example.org:2222".
 
map<int32, string> tasks = 2;

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

tĩnh công khai JobDef getDefaultInstance ()

công khai JobDef getDefaultInstanceForType ()

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

Chuỗi công khai getName ()

 The name of this job.
 
string name = 1;

com.google.protobuf.ByteString getNameBytes công khai ()

 The name of this job.
 
string name = 1;

công cộng getParserForType ()

int công khai getSerializedSize ()

Bản đồ công khai<Số nguyên, Chuỗi> getTasks ()

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

int công khai getTasksCount ()

 Mapping from task ID to "hostname:port" string.
 If the `name` field contains "worker", and the `tasks` map contains a
 mapping from 7 to "example.org:2222", then the device prefix
 "/job:worker/task:7" will be assigned to "example.org:2222".
 
map<int32, string> tasks = 2;

Bản đồ công khai<Số nguyên, Chuỗi> getTasksMap ()

 Mapping from task ID to "hostname:port" string.
 If the `name` field contains "worker", and the `tasks` map contains a
 mapping from 7 to "example.org:2222", then the device prefix
 "/job:worker/task:7" will be assigned to "example.org:2222".
 
map<int32, string> tasks = 2;

Chuỗi công khai getTasksOrDefault (khóa int, Chuỗi defaultValue)

 Mapping from task ID to "hostname:port" string.
 If the `name` field contains "worker", and the `tasks` map contains a
 mapping from 7 to "example.org:2222", then the device prefix
 "/job:worker/task:7" will be assigned to "example.org:2222".
 
map<int32, string> tasks = 2;

Chuỗi công khai getTasksOrThrow (khóa int)

 Mapping from task ID to "hostname:port" string.
 If the `name` field contains "worker", and the `tasks` map contains a
 mapping from 7 to "example.org:2222", then the device prefix
 "/job:worker/task:7" will be assigned to "example.org:2222".
 
map<int32, string> tasks = 2;

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

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

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

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

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

công khai JobDef.Builder newBuilderForType ()

công khai phân tích cú pháp JobDef tĩnhDelimitedFrom (Đầu vào luồng đầu vào)

Ném
IOException

công khai phân tích cú pháp JobDef tĩnhDelimitedFrom (đầu vào InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

phân tích cú pháp JobDef tĩnh công khaiFrom (dữ liệu ByteBuffer)

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

phân tích cú pháp JobDef tĩnh công khaiFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

phân tích cú pháp JobDef tĩnh công khaiTừ (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 JobDef tĩnh công khai (đầu vào com.google.protobuf.CodedInputStream)

Ném
IOException

phân tích cú pháp JobDef tĩnh công khaiTừ (dữ liệu byte[], 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 JobDef tĩnh công khaiFrom (dữ liệu com.google.protobuf.ByteString)

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

phân tích cú pháp JobDef tĩnh công khaiTừ (đầu vàoInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

phân tích cú pháp JobDef tĩnh công khaiFrom (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 ()

công khai JobDef.Builder toBuilder ()

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

Ném
IOException