Struct tensorflow::ops::Send
source · pub struct Send { /* private fields */ }
Expand description
Builder for the Send
operation.
Implementations§
source§impl Send
impl Send
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.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Send
impl Send for Send
impl Sync for Send
impl Unpin for Send
impl UnwindSafe for Send
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more