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