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