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 Freeze for Send
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