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