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