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.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CopyHost
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