CallableOptions.Builder

lớp cuối cùng tĩnh công khai CallableOptions.Builder

 Defines a subgraph in another `GraphDef` as a set of feed points and nodes
 to be fetched or executed.
 Compare with the arguments to `Session::Run()`.
 
Tenorflow loại tensorflow.CallableOptions

Phương pháp công khai

CallableOptions.Builder
addAllFeed (giá trị Iterable<String>)
 Tensors to be fed in the callable.
CallableOptions.Builder
addAllFetch (giá trị Iterable<String>)
 Fetches.
CallableOptions.Builder
addAllTarget (giá trị Iterable<String>)
 Target Nodes.
CallableOptions.Builder
addAllTensorConnection (Iterable<? mở rộng giá trị TensorConnection >)
 Tensors to be connected in the callable.
CallableOptions.Builder
addFeed (Giá trị chuỗi)
 Tensors to be fed in the callable.
CallableOptions.Builder
addFeedBytes (giá trị com.google.protobuf.ByteString)
 Tensors to be fed in the callable.
CallableOptions.Builder
addFetch (Giá trị chuỗi)
 Fetches.
CallableOptions.Builder
addFetchBytes (giá trị com.google.protobuf.ByteString)
 Fetches.
CallableOptions.Builder
addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
CallableOptions.Builder
addTarget (Giá trị chuỗi)
 Target Nodes.
CallableOptions.Builder
addTargetBytes (giá trị com.google.protobuf.ByteString)
 Target Nodes.
CallableOptions.Builder
addTensorConnection (chỉ số int, giá trị TensorConnection )
 Tensors to be connected in the callable.
CallableOptions.Builder
addTensorConnection (chỉ mục int, TensorConnection.Builder builderForValue)
 Tensors to be connected in the callable.
CallableOptions.Builder
addTensorConnection (giá trị TensorConnection )
 Tensors to be connected in the callable.
CallableOptions.Builder
addTensorConnection ( TensorConnection.Builder builderForValue)
 Tensors to be connected in the callable.
TensorConnection.Builder
addTensorConnectionBuilder ()
 Tensors to be connected in the callable.
TensorConnection.Builder
addTensorConnectionBuilder (chỉ mục int)
 Tensors to be connected in the callable.
Tùy chọn có thể gọi được
Tùy chọn có thể gọi được
CallableOptions.Builder
CallableOptions.Builder
ClearFeed ()
 Tensors to be fed in the callable.
CallableOptions.Builder
CallableOptions.Builder
ClearFetch ()
 Fetches.
CallableOptions.Builder
CallableOptions.Builder
clearFetchSkipSync ()
 By default, RunCallable() will synchronize the GPU stream before returning
 fetched tensors on a GPU device, to ensure that the values in those tensors
 have been produced.
CallableOptions.Builder
ClearField (trường com.google.protobuf.Descriptors.FieldDescriptor)
CallableOptions.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
CallableOptions.Builder
ClearRunOptions ()
 Options that will be applied to each run.
CallableOptions.Builder
mục tiêu rõ ràng ()
 Target Nodes.
CallableOptions.Builder
ClearTensorConnection ()
 Tensors to be connected in the callable.
CallableOptions.Builder
boolean
chứaFeedDevices (Khóa chuỗi)
 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
boolean
chứaFetchDevices (Khóa chuỗi)
map<string, string> fetch_devices = 7;
Tùy chọn có thể gọi được
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng
com.google.protobuf.Descriptors.Descriptor
Sợi dây
getFeed (chỉ số int)
 Tensors to be fed in the callable.
com.google.protobuf.ByteString
getFeedBytes (chỉ số int)
 Tensors to be fed in the callable.
int
getFeedCount ()
 Tensors to be fed in the callable.
Bản đồ<Chuỗi, Chuỗi>
getFeedDevices ()
Thay vào đó hãy sử dụng getFeedDevicesMap() .
int
getFeedDevicesCount ()
 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
Bản đồ<Chuỗi, Chuỗi>
getFeedDevicesMap ()
 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
Sợi dây
getFeedDevicesOrDefault (Khóa chuỗi, Chuỗi defaultValue)
 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
Sợi dây
getFeedDevicesOrThrow (Khóa chuỗi)
 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
com.google.protobuf.ProtocolStringList
getFeedList ()
 Tensors to be fed in the callable.
Sợi dây
getFetch (chỉ số int)
 Fetches.
com.google.protobuf.ByteString
getFetchBytes (chỉ mục int)
 Fetches.
int
getFetchCount ()
 Fetches.
Bản đồ<Chuỗi, Chuỗi>
getFetchDevices ()
Thay vào đó hãy sử dụng getFetchDevicesMap() .
int
getFetchDevicesCount ()
map<string, string> fetch_devices = 7;
Bản đồ<Chuỗi, Chuỗi>
getFetchDevicesMap ()
map<string, string> fetch_devices = 7;
Sợi dây
getFetchDevicesOrDefault (Khóa chuỗi, Chuỗi defaultValue)
map<string, string> fetch_devices = 7;
Sợi dây
getFetchDevicesOrThrow (Khóa chuỗi)
map<string, string> fetch_devices = 7;
com.google.protobuf.ProtocolStringList
getFetchList ()
 Fetches.
boolean
getFetchSkipSync ()
 By default, RunCallable() will synchronize the GPU stream before returning
 fetched tensors on a GPU device, to ensure that the values in those tensors
 have been produced.
Bản đồ<Chuỗi, Chuỗi>
getMutableFeedDevices ()
Thay vào đó hãy sử dụng các bộ truy cập đột biến thay thế.
Bản đồ<Chuỗi, Chuỗi>
getMutableFetchDevices ()
Thay vào đó hãy sử dụng các bộ truy cập đột biến thay thế.
Tùy chọn chạy
getRunOptions ()
 Options that will be applied to each run.
RunOptions.Builder
getRunOptionsBuilder ()
 Options that will be applied to each run.
RunOptionsOrBuilder
getRunOptionsOrBuilder ()
 Options that will be applied to each run.
Sợi dây
getTarget (chỉ số int)
 Target Nodes.
com.google.protobuf.ByteString
getTargetBytes (chỉ mục int)
 Target Nodes.
int
getTargetCount ()
 Target Nodes.
com.google.protobuf.ProtocolStringList
getTargetList ()
 Target Nodes.
Kết nối Tensor
getTensorConnection (chỉ mục int)
 Tensors to be connected in the callable.
TensorConnection.Builder
getTensorConnectionBuilder (chỉ mục int)
 Tensors to be connected in the callable.
Danh sách< TensorConnection.Builder >
getTensorConnectionBuilderList ()
 Tensors to be connected in the callable.
int
getTensorConnectionCount ()
 Tensors to be connected in the callable.
Danh sách< TensorConnection >
getTensorConnectionList ()
 Tensors to be connected in the callable.
TensorConnectionOrBuilder
getTensorConnectionOrBuilder (chỉ mục int)
 Tensors to be connected in the callable.
Danh sách<? mở rộng TensorConnectionOrBuilder >
getTensorConnectionOrBuilderList ()
 Tensors to be connected in the callable.
boolean
hasRunOptions ()
 Options that will be applied to each run.
boolean cuối cùng
CallableOptions.Builder
mergeFrom (com.google.protobuf.Message other)
CallableOptions.Builder
mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
CallableOptions.Builder
mergeRunOptions (giá trị RunOptions )
 Options that will be applied to each run.
CallableOptions.Builder cuối cùng
hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
CallableOptions.Builder
putAllFeedDevices (giá trị Bản đồ<Chuỗi, Chuỗi>)
 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
CallableOptions.Builder
putAllFetchDevices (giá trị Bản đồ<Chuỗi, Chuỗi>)
map<string, string> fetch_devices = 7;
CallableOptions.Builder
putFeedDevices (Khóa chuỗi, Giá trị chuỗi)
 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
CallableOptions.Builder
putFetchDevices (Khóa chuỗi, Giá trị chuỗi)
map<string, string> fetch_devices = 7;
CallableOptions.Builder
RemoveFeedDevices (Khóa chuỗi)
 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
CallableOptions.Builder
loại bỏFetchDevices (Khóa chuỗi)
map<string, string> fetch_devices = 7;
CallableOptions.Builder
loại bỏTensorConnection (chỉ số int)
 Tensors to be connected in the callable.
CallableOptions.Builder
setFeed (chỉ mục int, giá trị chuỗi)
 Tensors to be fed in the callable.
CallableOptions.Builder
setFetch (chỉ mục int, giá trị chuỗi)
 Fetches.
CallableOptions.Builder
setFetchSkipSync (giá trị boolean)
 By default, RunCallable() will synchronize the GPU stream before returning
 fetched tensors on a GPU device, to ensure that the values in those tensors
 have been produced.
CallableOptions.Builder
setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
CallableOptions.Builder
setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng)
CallableOptions.Builder
setRunOptions ( RunOptions.Builder builderForValue)
 Options that will be applied to each run.
CallableOptions.Builder
setRunOptions (giá trị RunOptions )
 Options that will be applied to each run.
CallableOptions.Builder
setTarget (chỉ mục int, giá trị chuỗi)
 Target Nodes.
CallableOptions.Builder
setTensorConnection (chỉ số int, giá trị TensorConnection )
 Tensors to be connected in the callable.
CallableOptions.Builder
setTensorConnection (chỉ mục int, TensorConnection.Builder builderForValue)
 Tensors to be connected in the callable.
CallableOptions.Builder cuối cùng
setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)

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

Phương pháp công khai

công khai CallableOptions.Builder addAllFeed (giá trị Iterable<String>)

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

public CallableOptions.Builder addAllFetch (giá trị Iterable<String>)

 Fetches. A list of tensor names. The caller of the callable expects a
 tensor to be returned for each fetch[i] (see RunStepResponse.tensor). The
 order of specified fetches does not change the execution order.
 
repeated string fetch = 2;

public CallableOptions.Builder addAllTarget (giá trị Iterable<String>)

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

công khai CallableOptions.Builder addAllTensorConnection (Iterable<? kéo dài các giá trị TensorConnection >)

 Tensors to be connected in the callable. Each TensorConnection denotes
 a pair of tensors in the graph, between which an edge will be created
 in the callable.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public CallableOptions.Builder addFeed (Giá trị chuỗi)

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

công khai CallableOptions.Builder addFeedBytes (giá trị com.google.protobuf.ByteString)

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

public CallableOptions.Builder addFetch (Giá trị chuỗi)

 Fetches. A list of tensor names. The caller of the callable expects a
 tensor to be returned for each fetch[i] (see RunStepResponse.tensor). The
 order of specified fetches does not change the execution order.
 
repeated string fetch = 2;

công khai CallableOptions.Builder addFetchBytes (giá trị com.google.protobuf.ByteString)

 Fetches. A list of tensor names. The caller of the callable expects a
 tensor to be returned for each fetch[i] (see RunStepResponse.tensor). The
 order of specified fetches does not change the execution order.
 
repeated string fetch = 2;

công khai CallableOptions.Builder addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)

public CallableOptions.Builder addTarget (Giá trị chuỗi)

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

công khai CallableOptions.Builder addTargetBytes (giá trị com.google.protobuf.ByteString)

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

public CallableOptions.Builder addTensorConnection (int chỉ mục, giá trị TensorConnection )

 Tensors to be connected in the callable. Each TensorConnection denotes
 a pair of tensors in the graph, between which an edge will be created
 in the callable.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

công khai CallableOptions.Builder addTensorConnection (int chỉ mục, TensorConnection.Builder builderForValue)

 Tensors to be connected in the callable. Each TensorConnection denotes
 a pair of tensors in the graph, between which an edge will be created
 in the callable.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public CallableOptions.Builder addTensorConnection (giá trị TensorConnection )

 Tensors to be connected in the callable. Each TensorConnection denotes
 a pair of tensors in the graph, between which an edge will be created
 in the callable.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

công khai CallableOptions.Builder addTensorConnection ( TensorConnection.Builder builderForValue)

 Tensors to be connected in the callable. Each TensorConnection denotes
 a pair of tensors in the graph, between which an edge will be created
 in the callable.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

công khai TensorConnection.Builder addTensorConnectionBuilder ()

 Tensors to be connected in the callable. Each TensorConnection denotes
 a pair of tensors in the graph, between which an edge will be created
 in the callable.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

công khai TensorConnection.Builder addTensorConnectionBuilder (chỉ mục int)

 Tensors to be connected in the callable. Each TensorConnection denotes
 a pair of tensors in the graph, between which an edge will be created
 in the callable.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

bản dựng CallableOptions công khai ()

công khai CallableOptions buildPartial ()

công khai CallableOptions.Builder rõ ràng ()

công khai CallableOptions.Builder clearFeed ()

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

công khai CallableOptions.Builder clearFeedDevices ()

công khai CallableOptions.Builder clearFetch ()

 Fetches. A list of tensor names. The caller of the callable expects a
 tensor to be returned for each fetch[i] (see RunStepResponse.tensor). The
 order of specified fetches does not change the execution order.
 
repeated string fetch = 2;

công khai CallableOptions.Builder clearFetchDevices ()

công khai CallableOptions.Builder clearFetchSkipSync ()

 By default, RunCallable() will synchronize the GPU stream before returning
 fetched tensors on a GPU device, to ensure that the values in those tensors
 have been produced. This simplifies interacting with the tensors, but
 potentially incurs a performance hit.
 If this options is set to true, the caller is responsible for ensuring
 that the values in the fetched tensors have been produced before they are
 used. The caller can do this by invoking `Device::Sync()` on the underlying
 device(s), or by feeding the tensors back to the same Session using
 `feed_devices` with the same corresponding device name.
 
bool fetch_skip_sync = 8;

công khai CallableOptions.Builder clearField (trường com.google.protobuf.Descriptors.FieldDescriptor)

công khai CallableOptions.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

công khai CallableOptions.Builder clearRunOptions ()

 Options that will be applied to each run.
 
.tensorflow.RunOptions run_options = 4;

công khai CallableOptions.Builder clearTarget ()

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

công khai CallableOptions.Builder clearTensorConnection ()

 Tensors to be connected in the callable. Each TensorConnection denotes
 a pair of tensors in the graph, between which an edge will be created
 in the callable.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

bản sao CallableOptions.Builder công khai ()

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

 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
 The options below allow changing that - feeding tensors backed by
 device memory, or returning tensors that are backed by device memory.
 The maps below map the name of a feed/fetch tensor (which appears in
 'feed' or 'fetch' fields above), to the fully qualified name of the device
 owning the memory backing the contents of the tensor.
 For example, creating a callable with the following options:
 CallableOptions {
   feed: "a:0"
   feed: "b:0"
   fetch: "x:0"
   fetch: "y:0"
   feed_devices: {
     "a:0": "/job:localhost/replica:0/task:0/device:GPU:0"
   }
   fetch_devices: {
     "y:0": "/job:localhost/replica:0/task:0/device:GPU:0"
  }
 }
 means that the Callable expects:
 - The first argument ("a:0") is a Tensor backed by GPU memory.
 - The second argument ("b:0") is a Tensor backed by host memory.
 and of its return values:
 - The first output ("x:0") will be backed by host memory.
 - The second output ("y:0") will be backed by GPU memory.
 FEEDS:
 It is the responsibility of the caller to ensure that the memory of the fed
 tensors will be correctly initialized and synchronized before it is
 accessed by operations executed during the call to Session::RunCallable().
 This is typically ensured by using the TensorFlow memory allocators
 (Device::GetAllocator()) to create the Tensor to be fed.
 Alternatively, for CUDA-enabled GPU devices, this typically means that the
 operation that produced the contents of the tensor has completed, i.e., the
 CUDA stream has been synchronized (e.g., via cuCtxSynchronize() or
 cuStreamSynchronize()).
 
map<string, string> feed_devices = 6;

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

map<string, string> fetch_devices = 7;

CallableOptions công khai getDefaultInstanceForType ()

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

com.google.protobuf.Descriptors.Descriptor công khai getDescriptorForType ()

Chuỗi công khai getFeed (chỉ mục int)

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

com.google.protobuf.ByteString getFeedBytes công khai (chỉ mục int)

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

int công khai getFeedCount ()

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

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

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

int công khai getFeedDevicesCount ()

 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
 The options below allow changing that - feeding tensors backed by
 device memory, or returning tensors that are backed by device memory.
 The maps below map the name of a feed/fetch tensor (which appears in
 'feed' or 'fetch' fields above), to the fully qualified name of the device
 owning the memory backing the contents of the tensor.
 For example, creating a callable with the following options:
 CallableOptions {
   feed: "a:0"
   feed: "b:0"
   fetch: "x:0"
   fetch: "y:0"
   feed_devices: {
     "a:0": "/job:localhost/replica:0/task:0/device:GPU:0"
   }
   fetch_devices: {
     "y:0": "/job:localhost/replica:0/task:0/device:GPU:0"
  }
 }
 means that the Callable expects:
 - The first argument ("a:0") is a Tensor backed by GPU memory.
 - The second argument ("b:0") is a Tensor backed by host memory.
 and of its return values:
 - The first output ("x:0") will be backed by host memory.
 - The second output ("y:0") will be backed by GPU memory.
 FEEDS:
 It is the responsibility of the caller to ensure that the memory of the fed
 tensors will be correctly initialized and synchronized before it is
 accessed by operations executed during the call to Session::RunCallable().
 This is typically ensured by using the TensorFlow memory allocators
 (Device::GetAllocator()) to create the Tensor to be fed.
 Alternatively, for CUDA-enabled GPU devices, this typically means that the
 operation that produced the contents of the tensor has completed, i.e., the
 CUDA stream has been synchronized (e.g., via cuCtxSynchronize() or
 cuStreamSynchronize()).
 
map<string, string> feed_devices = 6;

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

 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
 The options below allow changing that - feeding tensors backed by
 device memory, or returning tensors that are backed by device memory.
 The maps below map the name of a feed/fetch tensor (which appears in
 'feed' or 'fetch' fields above), to the fully qualified name of the device
 owning the memory backing the contents of the tensor.
 For example, creating a callable with the following options:
 CallableOptions {
   feed: "a:0"
   feed: "b:0"
   fetch: "x:0"
   fetch: "y:0"
   feed_devices: {
     "a:0": "/job:localhost/replica:0/task:0/device:GPU:0"
   }
   fetch_devices: {
     "y:0": "/job:localhost/replica:0/task:0/device:GPU:0"
  }
 }
 means that the Callable expects:
 - The first argument ("a:0") is a Tensor backed by GPU memory.
 - The second argument ("b:0") is a Tensor backed by host memory.
 and of its return values:
 - The first output ("x:0") will be backed by host memory.
 - The second output ("y:0") will be backed by GPU memory.
 FEEDS:
 It is the responsibility of the caller to ensure that the memory of the fed
 tensors will be correctly initialized and synchronized before it is
 accessed by operations executed during the call to Session::RunCallable().
 This is typically ensured by using the TensorFlow memory allocators
 (Device::GetAllocator()) to create the Tensor to be fed.
 Alternatively, for CUDA-enabled GPU devices, this typically means that the
 operation that produced the contents of the tensor has completed, i.e., the
 CUDA stream has been synchronized (e.g., via cuCtxSynchronize() or
 cuStreamSynchronize()).
 
map<string, string> feed_devices = 6;

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

 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
 The options below allow changing that - feeding tensors backed by
 device memory, or returning tensors that are backed by device memory.
 The maps below map the name of a feed/fetch tensor (which appears in
 'feed' or 'fetch' fields above), to the fully qualified name of the device
 owning the memory backing the contents of the tensor.
 For example, creating a callable with the following options:
 CallableOptions {
   feed: "a:0"
   feed: "b:0"
   fetch: "x:0"
   fetch: "y:0"
   feed_devices: {
     "a:0": "/job:localhost/replica:0/task:0/device:GPU:0"
   }
   fetch_devices: {
     "y:0": "/job:localhost/replica:0/task:0/device:GPU:0"
  }
 }
 means that the Callable expects:
 - The first argument ("a:0") is a Tensor backed by GPU memory.
 - The second argument ("b:0") is a Tensor backed by host memory.
 and of its return values:
 - The first output ("x:0") will be backed by host memory.
 - The second output ("y:0") will be backed by GPU memory.
 FEEDS:
 It is the responsibility of the caller to ensure that the memory of the fed
 tensors will be correctly initialized and synchronized before it is
 accessed by operations executed during the call to Session::RunCallable().
 This is typically ensured by using the TensorFlow memory allocators
 (Device::GetAllocator()) to create the Tensor to be fed.
 Alternatively, for CUDA-enabled GPU devices, this typically means that the
 operation that produced the contents of the tensor has completed, i.e., the
 CUDA stream has been synchronized (e.g., via cuCtxSynchronize() or
 cuStreamSynchronize()).
 
map<string, string> feed_devices = 6;

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

 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
 The options below allow changing that - feeding tensors backed by
 device memory, or returning tensors that are backed by device memory.
 The maps below map the name of a feed/fetch tensor (which appears in
 'feed' or 'fetch' fields above), to the fully qualified name of the device
 owning the memory backing the contents of the tensor.
 For example, creating a callable with the following options:
 CallableOptions {
   feed: "a:0"
   feed: "b:0"
   fetch: "x:0"
   fetch: "y:0"
   feed_devices: {
     "a:0": "/job:localhost/replica:0/task:0/device:GPU:0"
   }
   fetch_devices: {
     "y:0": "/job:localhost/replica:0/task:0/device:GPU:0"
  }
 }
 means that the Callable expects:
 - The first argument ("a:0") is a Tensor backed by GPU memory.
 - The second argument ("b:0") is a Tensor backed by host memory.
 and of its return values:
 - The first output ("x:0") will be backed by host memory.
 - The second output ("y:0") will be backed by GPU memory.
 FEEDS:
 It is the responsibility of the caller to ensure that the memory of the fed
 tensors will be correctly initialized and synchronized before it is
 accessed by operations executed during the call to Session::RunCallable().
 This is typically ensured by using the TensorFlow memory allocators
 (Device::GetAllocator()) to create the Tensor to be fed.
 Alternatively, for CUDA-enabled GPU devices, this typically means that the
 operation that produced the contents of the tensor has completed, i.e., the
 CUDA stream has been synchronized (e.g., via cuCtxSynchronize() or
 cuStreamSynchronize()).
 
map<string, string> feed_devices = 6;

com.google.protobuf.ProtocolStringList getFeedList công khai ()

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

Chuỗi công khai getFetch (chỉ mục int)

 Fetches. A list of tensor names. The caller of the callable expects a
 tensor to be returned for each fetch[i] (see RunStepResponse.tensor). The
 order of specified fetches does not change the execution order.
 
repeated string fetch = 2;

com.google.protobuf.ByteString getFetchBytes công khai (chỉ mục int)

 Fetches. A list of tensor names. The caller of the callable expects a
 tensor to be returned for each fetch[i] (see RunStepResponse.tensor). The
 order of specified fetches does not change the execution order.
 
repeated string fetch = 2;

int công khai getFetchCount ()

 Fetches. A list of tensor names. The caller of the callable expects a
 tensor to be returned for each fetch[i] (see RunStepResponse.tensor). The
 order of specified fetches does not change the execution order.
 
repeated string fetch = 2;

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

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

int công khai getFetchDevicesCount ()

map<string, string> fetch_devices = 7;

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

map<string, string> fetch_devices = 7;

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

map<string, string> fetch_devices = 7;

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

map<string, string> fetch_devices = 7;

com.google.protobuf.ProtocolStringList getFetchList công khai ()

 Fetches. A list of tensor names. The caller of the callable expects a
 tensor to be returned for each fetch[i] (see RunStepResponse.tensor). The
 order of specified fetches does not change the execution order.
 
repeated string fetch = 2;

boolean công khai getFetchSkipSync ()

 By default, RunCallable() will synchronize the GPU stream before returning
 fetched tensors on a GPU device, to ensure that the values in those tensors
 have been produced. This simplifies interacting with the tensors, but
 potentially incurs a performance hit.
 If this options is set to true, the caller is responsible for ensuring
 that the values in the fetched tensors have been produced before they are
 used. The caller can do this by invoking `Device::Sync()` on the underlying
 device(s), or by feeding the tensors back to the same Session using
 `feed_devices` with the same corresponding device name.
 
bool fetch_skip_sync = 8;

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

Thay vào đó hãy sử dụng các bộ truy cập đột biến thay thế.

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

Thay vào đó hãy sử dụng các bộ truy cập đột biến thay thế.

RunOptions công khai getRunOptions ()

 Options that will be applied to each run.
 
.tensorflow.RunOptions run_options = 4;

công khai RunOptions.Builder getRunOptionsBuilder ()

 Options that will be applied to each run.
 
.tensorflow.RunOptions run_options = 4;

công khai RunOptionsOrBuilder getRunOptionsOrBuilder ()

 Options that will be applied to each run.
 
.tensorflow.RunOptions run_options = 4;

Chuỗi công khai getTarget (chỉ mục int)

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

com.google.protobuf.ByteString getTargetBytes công khai (chỉ mục int)

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

int công khai getTargetCount ()

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

com.google.protobuf.ProtocolStringList getTargetList công khai ()

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

công khai TensorConnection getTensorConnection (int chỉ mục)

 Tensors to be connected in the callable. Each TensorConnection denotes
 a pair of tensors in the graph, between which an edge will be created
 in the callable.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

công khai TensorConnection.Builder getTensorConnectionBuilder (chỉ mục int)

 Tensors to be connected in the callable. Each TensorConnection denotes
 a pair of tensors in the graph, between which an edge will be created
 in the callable.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

Danh sách công khai< TensorConnection.Builder > getTensorConnectionBuilderList ()

 Tensors to be connected in the callable. Each TensorConnection denotes
 a pair of tensors in the graph, between which an edge will be created
 in the callable.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

int công khai getTensorConnectionCount ()

 Tensors to be connected in the callable. Each TensorConnection denotes
 a pair of tensors in the graph, between which an edge will be created
 in the callable.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

Danh sách công khai< TensorConnection > getTensorConnectionList ()

 Tensors to be connected in the callable. Each TensorConnection denotes
 a pair of tensors in the graph, between which an edge will be created
 in the callable.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

công khai TensorConnectionOrBuilder getTensorConnectionOrBuilder (chỉ mục int)

 Tensors to be connected in the callable. Each TensorConnection denotes
 a pair of tensors in the graph, between which an edge will be created
 in the callable.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

Danh sách công khai<? mở rộng TensorConnectionOrBuilder > getTensorConnectionOrBuilderList ()

 Tensors to be connected in the callable. Each TensorConnection denotes
 a pair of tensors in the graph, between which an edge will be created
 in the callable.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

boolean công khai hasRunOptions ()

 Options that will be applied to each run.
 
.tensorflow.RunOptions run_options = 4;

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

công khai CallableOptions.Builder mergeFrom (com.google.protobuf.Message other)

công khai CallableOptions.Builder mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

công khai CallableOptions.Builder mergeRunOptions (giá trị RunOptions )

 Options that will be applied to each run.
 
.tensorflow.RunOptions run_options = 4;

trận chung kết công khai CallableOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)

công khai CallableOptions.Builder putAllFeedDevices (giá trị Bản đồ<String, String>)

 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
 The options below allow changing that - feeding tensors backed by
 device memory, or returning tensors that are backed by device memory.
 The maps below map the name of a feed/fetch tensor (which appears in
 'feed' or 'fetch' fields above), to the fully qualified name of the device
 owning the memory backing the contents of the tensor.
 For example, creating a callable with the following options:
 CallableOptions {
   feed: "a:0"
   feed: "b:0"
   fetch: "x:0"
   fetch: "y:0"
   feed_devices: {
     "a:0": "/job:localhost/replica:0/task:0/device:GPU:0"
   }
   fetch_devices: {
     "y:0": "/job:localhost/replica:0/task:0/device:GPU:0"
  }
 }
 means that the Callable expects:
 - The first argument ("a:0") is a Tensor backed by GPU memory.
 - The second argument ("b:0") is a Tensor backed by host memory.
 and of its return values:
 - The first output ("x:0") will be backed by host memory.
 - The second output ("y:0") will be backed by GPU memory.
 FEEDS:
 It is the responsibility of the caller to ensure that the memory of the fed
 tensors will be correctly initialized and synchronized before it is
 accessed by operations executed during the call to Session::RunCallable().
 This is typically ensured by using the TensorFlow memory allocators
 (Device::GetAllocator()) to create the Tensor to be fed.
 Alternatively, for CUDA-enabled GPU devices, this typically means that the
 operation that produced the contents of the tensor has completed, i.e., the
 CUDA stream has been synchronized (e.g., via cuCtxSynchronize() or
 cuStreamSynchronize()).
 
map<string, string> feed_devices = 6;

public CallableOptions.Builder putAllFetchDevices (giá trị Bản đồ<String, String>)

map<string, string> fetch_devices = 7;

public CallableOptions.Builder putFeedDevices (Khóa chuỗi, giá trị chuỗi)

 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
 The options below allow changing that - feeding tensors backed by
 device memory, or returning tensors that are backed by device memory.
 The maps below map the name of a feed/fetch tensor (which appears in
 'feed' or 'fetch' fields above), to the fully qualified name of the device
 owning the memory backing the contents of the tensor.
 For example, creating a callable with the following options:
 CallableOptions {
   feed: "a:0"
   feed: "b:0"
   fetch: "x:0"
   fetch: "y:0"
   feed_devices: {
     "a:0": "/job:localhost/replica:0/task:0/device:GPU:0"
   }
   fetch_devices: {
     "y:0": "/job:localhost/replica:0/task:0/device:GPU:0"
  }
 }
 means that the Callable expects:
 - The first argument ("a:0") is a Tensor backed by GPU memory.
 - The second argument ("b:0") is a Tensor backed by host memory.
 and of its return values:
 - The first output ("x:0") will be backed by host memory.
 - The second output ("y:0") will be backed by GPU memory.
 FEEDS:
 It is the responsibility of the caller to ensure that the memory of the fed
 tensors will be correctly initialized and synchronized before it is
 accessed by operations executed during the call to Session::RunCallable().
 This is typically ensured by using the TensorFlow memory allocators
 (Device::GetAllocator()) to create the Tensor to be fed.
 Alternatively, for CUDA-enabled GPU devices, this typically means that the
 operation that produced the contents of the tensor has completed, i.e., the
 CUDA stream has been synchronized (e.g., via cuCtxSynchronize() or
 cuStreamSynchronize()).
 
map<string, string> feed_devices = 6;

public CallableOptions.Builder putFetchDevices (Khóa chuỗi, Giá trị chuỗi)

map<string, string> fetch_devices = 7;

công khai CallableOptions.Builder RemoveFeedDevices (Khóa chuỗi)

 The Tensor objects fed in the callable and fetched from the callable
 are expected to be backed by host (CPU) memory by default.
 The options below allow changing that - feeding tensors backed by
 device memory, or returning tensors that are backed by device memory.
 The maps below map the name of a feed/fetch tensor (which appears in
 'feed' or 'fetch' fields above), to the fully qualified name of the device
 owning the memory backing the contents of the tensor.
 For example, creating a callable with the following options:
 CallableOptions {
   feed: "a:0"
   feed: "b:0"
   fetch: "x:0"
   fetch: "y:0"
   feed_devices: {
     "a:0": "/job:localhost/replica:0/task:0/device:GPU:0"
   }
   fetch_devices: {
     "y:0": "/job:localhost/replica:0/task:0/device:GPU:0"
  }
 }
 means that the Callable expects:
 - The first argument ("a:0") is a Tensor backed by GPU memory.
 - The second argument ("b:0") is a Tensor backed by host memory.
 and of its return values:
 - The first output ("x:0") will be backed by host memory.
 - The second output ("y:0") will be backed by GPU memory.
 FEEDS:
 It is the responsibility of the caller to ensure that the memory of the fed
 tensors will be correctly initialized and synchronized before it is
 accessed by operations executed during the call to Session::RunCallable().
 This is typically ensured by using the TensorFlow memory allocators
 (Device::GetAllocator()) to create the Tensor to be fed.
 Alternatively, for CUDA-enabled GPU devices, this typically means that the
 operation that produced the contents of the tensor has completed, i.e., the
 CUDA stream has been synchronized (e.g., via cuCtxSynchronize() or
 cuStreamSynchronize()).
 
map<string, string> feed_devices = 6;

công khai CallableOptions.Builder xóaFetchDevices (Khóa chuỗi)

map<string, string> fetch_devices = 7;

công khai CallableOptions.Builder loại bỏTensorConnection (chỉ mục int)

 Tensors to be connected in the callable. Each TensorConnection denotes
 a pair of tensors in the graph, between which an edge will be created
 in the callable.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

public CallableOptions.Builder setFeed (chỉ mục int, giá trị chuỗi)

 Tensors to be fed in the callable. Each feed is the name of a tensor.
 
repeated string feed = 1;

public CallableOptions.Builder setFetch (chỉ mục int, giá trị chuỗi)

 Fetches. A list of tensor names. The caller of the callable expects a
 tensor to be returned for each fetch[i] (see RunStepResponse.tensor). The
 order of specified fetches does not change the execution order.
 
repeated string fetch = 2;

public CallableOptions.Builder setFetchSkipSync (giá trị boolean)

 By default, RunCallable() will synchronize the GPU stream before returning
 fetched tensors on a GPU device, to ensure that the values in those tensors
 have been produced. This simplifies interacting with the tensors, but
 potentially incurs a performance hit.
 If this options is set to true, the caller is responsible for ensuring
 that the values in the fetched tensors have been produced before they are
 used. The caller can do this by invoking `Device::Sync()` on the underlying
 device(s), or by feeding the tensors back to the same Session using
 `feed_devices` with the same corresponding device name.
 
bool fetch_skip_sync = 8;

công khai CallableOptions.Builder setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)

công khai CallableOptions.Builder setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng)

công khai CallableOptions.Builder setRunOptions ( RunOptions.Builder builderForValue)

 Options that will be applied to each run.
 
.tensorflow.RunOptions run_options = 4;

công khai CallableOptions.Builder setRunOptions (giá trị RunOptions )

 Options that will be applied to each run.
 
.tensorflow.RunOptions run_options = 4;

public CallableOptions.Builder setTarget (chỉ mục int, giá trị chuỗi)

 Target Nodes. A list of node names. The named nodes will be run by the
 callable but their outputs will not be returned.
 
repeated string target = 3;

public CallableOptions.Builder setTensorConnection (chỉ mục int, giá trị TensorConnection )

 Tensors to be connected in the callable. Each TensorConnection denotes
 a pair of tensors in the graph, between which an edge will be created
 in the callable.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

công khai CallableOptions.Builder setTensorConnection (int chỉ mục, TensorConnection.Builder builderForValue)

 Tensors to be connected in the callable. Each TensorConnection denotes
 a pair of tensors in the graph, between which an edge will be created
 in the callable.
 
repeated .tensorflow.TensorConnection tensor_connection = 5;

trận chung kết công khai CallableOptions.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)