pub struct StatelessRandomUniformFullIntV2 { /* private fields */ }
Expand description
Builder for the StatelessRandomUniformFullIntV2
operation.
Implementations§
Source§impl StatelessRandomUniformFullIntV2
impl StatelessRandomUniformFullIntV2
Sourcepub fn Tshape<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn Tshape<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the Tshape
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>, O3: Into<Output>>(
&self,
shape: O0,
key: O1,
counter: O2,
alg: O3,
scope: &mut Scope,
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>>( &self, shape: O0, key: O1, counter: O2, alg: O3, scope: &mut Scope, ) -> Result<Operation>
Builds the StatelessRandomUniformFullIntV2
operation.
Sourcepub fn build_instance(
&self,
shape: Output,
key: Output,
counter: Output,
alg: Output,
scope: &mut Scope,
) -> Result<StatelessRandomUniformFullIntV2Inst>
pub fn build_instance( &self, shape: Output, key: Output, counter: Output, alg: Output, scope: &mut Scope, ) -> Result<StatelessRandomUniformFullIntV2Inst>
Builds a new instance of ‘StatelessRandomUniformFullIntV2’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Source§impl Default for StatelessRandomUniformFullIntV2
impl Default for StatelessRandomUniformFullIntV2
Source§fn default() -> StatelessRandomUniformFullIntV2
fn default() -> StatelessRandomUniformFullIntV2
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StatelessRandomUniformFullIntV2
impl RefUnwindSafe for StatelessRandomUniformFullIntV2
impl Send for StatelessRandomUniformFullIntV2
impl Sync for StatelessRandomUniformFullIntV2
impl Unpin for StatelessRandomUniformFullIntV2
impl UnwindSafe for StatelessRandomUniformFullIntV2
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