[−][src]Struct tensorflow_proto::tensorflow::RunGraphRequest
Fields
session_handle: String
session_handle is the master-generated unique id for this session. If session_handle is non-empty, it must be the same as used when registering the graph. If it is empty, a single global namespace is used to search for the graph_handle.
create_worker_session_called: bool
Set to true if CreateWorkerSession
was called for session_handle
.
graph_handle: String
REQUIRED: graph_handle must be returned by a RegisterGraph call to the same WorkerService.
step_id: i64
A unique ID to distinguish different runs of the same graph.
The master generates a global unique step_id
to distinguish
different runs of the graph computation. Subgraphs communicate
(e.g., send/recv ops) with each other using step_id
to
distinguish tensors generated by different runs.
exec_opts: Option<ExecutorOpts>
Options for this step.
send: Vec<NamedTensorProto>
Runs the graph.
Sends the tensors in "send" into the graph before the run and
fetches the keys into RunGraphResponse.recv
after the run.
recv_key: Vec<String>
is_partial: bool
True if the RunGraphRequest is a partial run request.
is_last_partial_run: bool
True if this is the last partial run request in a sequence of requests.
store_errors_in_response_body: bool
If true then some errors, e.g., execution errors that have long error messages, may return an OK RunGraphResponse with the actual error saved in the status_code/status_error_message fields of the response body. This is a workaround since the RPC subsystem may truncate long metadata messages.
request_id: i64
Unique identifier for this request. Every RunGraphRequest must have a unique request_id, and retried RunGraphRequests must have the same request_id. If request_id is zero, retry detection is disabled.
Retried RunGraphRequests are problematic because they may issue a RecvTensor that will have no corresponding sender and will wait forever. Workers use request_ids to reject retried RunGraph requests instead of waiting forever.
Trait Implementations
impl Clone for RunGraphRequest
[src]
pub fn clone(&self) -> RunGraphRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RunGraphRequest
[src]
impl Default for RunGraphRequest
[src]
impl Message for RunGraphRequest
[src]
pub fn encode_raw<B>(&self, buf: &mut B) where
B: BufMut,
[src]
B: BufMut,
pub fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
[src]
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
pub fn encoded_len(&self) -> usize
[src]
pub fn clear(&mut self)
[src]
pub fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
pub fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
pub fn decode<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
[src]
Self: Default,
B: Buf,
pub fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
[src]
Self: Default,
B: Buf,
pub fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
pub fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
impl PartialEq<RunGraphRequest> for RunGraphRequest
[src]
pub fn eq(&self, other: &RunGraphRequest) -> bool
[src]
pub fn ne(&self, other: &RunGraphRequest) -> bool
[src]
impl StructuralPartialEq for RunGraphRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for RunGraphRequest
[src]
impl Send for RunGraphRequest
[src]
impl Sync for RunGraphRequest
[src]
impl Unpin for RunGraphRequest
[src]
impl UnwindSafe for RunGraphRequest
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,