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