Struct tensorflow::ops::CopyHost
source · pub struct CopyHost { /* private fields */ }
Expand description
Builder for the CopyHost
operation.
Implementations§
source§impl CopyHost
impl CopyHost
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 debug_ops_spec<ArgType: Into<Vec<String>>>(self, value: ArgType) -> Self
pub fn debug_ops_spec<ArgType: Into<Vec<String>>>(self, value: ArgType) -> Self
Sets the debug_ops_spec
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 CopyHost
operation.
sourcepub fn build_instance(
&self,
input: Output,
scope: &mut Scope
) -> Result<CopyHostInst>
pub fn build_instance( &self, input: Output, scope: &mut Scope ) -> Result<CopyHostInst>
Builds a new instance of ‘CopyHost’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for CopyHost
impl Send for CopyHost
impl Sync for CopyHost
impl Unpin for CopyHost
impl UnwindSafe for CopyHost
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