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