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.
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 Freeze for StatelessParameterizedTruncatedNormal
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