Struct tensorflow::ops::Copy
source · pub struct Copy { /* private fields */ }
Expand description
Builder for the Copy
operation.
Implementations§
source§impl Copy
impl Copy
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 RefUnwindSafe for Copy
impl Send for Copy
impl Sync for Copy
impl Unpin for Copy
impl UnwindSafe for Copy
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