Struct tensorflow::eager::raw_ops::Recv
source · pub struct Recv { /* private fields */ }
Expand description
Implementations§
source§impl 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 target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a>(&self, ctx: &'a Context) -> Result<TensorHandle<'a>>
pub fn call<'a>(&self, ctx: &'a Context) -> Result<TensorHandle<'a>>
Execute recv.
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§
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