pub struct StatefulTruncatedNormal { /* private fields */ }
Expand description
Builder for the StatefulTruncatedNormal
operation.
Implementations§
Source§impl StatefulTruncatedNormal
impl StatefulTruncatedNormal
Sourcepub fn shape_dtype<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn shape_dtype<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the shape_dtype
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§
Source§impl Debug for StatefulTruncatedNormal
impl Debug for StatefulTruncatedNormal
Source§impl Default for StatefulTruncatedNormal
impl Default for StatefulTruncatedNormal
Source§fn default() -> StatefulTruncatedNormal
fn default() -> StatefulTruncatedNormal
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StatefulTruncatedNormal
impl RefUnwindSafe for StatefulTruncatedNormal
impl Send for StatefulTruncatedNormal
impl Sync for StatefulTruncatedNormal
impl Unpin for StatefulTruncatedNormal
impl UnwindSafe for StatefulTruncatedNormal
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