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