Struct tensorflow::ops::Recv
source · [−]pub struct Recv { /* private fields */ }
Expand description
Builder for the Recv
operation.
Implementations
sourceimpl Recv
impl Recv
sourcepub fn tensor_type<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn tensor_type<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the tensor_type
attribute.
sourcepub fn tensor_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn tensor_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the tensor_name
attribute.
sourcepub fn send_device<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn send_device<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the send_device
attribute.
sourcepub fn send_device_incarnation<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn send_device_incarnation<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the send_device_incarnation
attribute.
sourcepub fn recv_device<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn recv_device<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the recv_device
attribute.
sourcepub fn client_terminated<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn client_terminated<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the client_terminated
attribute.
sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build_instance(&self, scope: &mut Scope) -> Result<RecvInst>
pub fn build_instance(&self, scope: &mut Scope) -> Result<RecvInst>
Builds a new instance of ‘Recv’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Recv
impl Send for Recv
impl Sync for Recv
impl Unpin for Recv
impl UnwindSafe for Recv
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more