Struct tensorflow::ops::XlaRecvFromHost
source · pub struct XlaRecvFromHost { /* private fields */ }
Expand description
Builder for the XlaRecvFromHost
operation.
Implementations§
source§impl XlaRecvFromHost
impl XlaRecvFromHost
sourcepub fn Toutput<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn Toutput<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the Toutput
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(&self, scope: &mut Scope) -> Result<Operation>
pub fn build(&self, scope: &mut Scope) -> Result<Operation>
Builds the XlaRecvFromHost
operation.
sourcepub fn build_instance(&self, scope: &mut Scope) -> Result<XlaRecvFromHostInst>
pub fn build_instance(&self, scope: &mut Scope) -> Result<XlaRecvFromHostInst>
Builds a new instance of ‘XlaRecvFromHost’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for XlaRecvFromHost
impl Debug for XlaRecvFromHost
source§impl Default for XlaRecvFromHost
impl Default for XlaRecvFromHost
source§fn default() -> XlaRecvFromHost
fn default() -> XlaRecvFromHost
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for XlaRecvFromHost
impl Send for XlaRecvFromHost
impl Sync for XlaRecvFromHost
impl Unpin for XlaRecvFromHost
impl UnwindSafe for XlaRecvFromHost
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