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