Struct tensorflow::ops::StatefulTruncatedNormal
source · 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.
sourcepub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>>(
&self,
resource: O0,
algorithm: O1,
shape: O2,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>>( &self, resource: O0, algorithm: O1, shape: O2, scope: &mut Scope ) -> Result<Operation>
Builds the StatefulTruncatedNormal
operation.
sourcepub fn build_instance(
&self,
resource: Output,
algorithm: Output,
shape: Output,
scope: &mut Scope
) -> Result<StatefulTruncatedNormalInst>
pub fn build_instance( &self, resource: Output, algorithm: Output, shape: Output, scope: &mut Scope ) -> Result<StatefulTruncatedNormalInst>
Builds a new instance of ‘StatefulTruncatedNormal’ Operation with it’s Outputs and Inputs exposed as methods.
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 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