Struct tensorflow::ops::Mean
source · pub struct Mean { /* private fields */ }
Expand description
Builder for the Mean
operation.
Implementations§
source§impl Mean
impl Mean
sourcepub fn keep_dims<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn keep_dims<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the keep_dims
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 Mean
impl Send for Mean
impl Sync for Mean
impl Unpin for Mean
impl UnwindSafe for Mean
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