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