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