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