Struct tensorflow::ops::CudnnRNNV3
source · pub struct CudnnRNNV3 { /* private fields */ }
Expand description
Builder for the CudnnRNNV3
operation.
Implementations§
source§impl CudnnRNNV3
impl CudnnRNNV3
sourcepub fn rnn_mode<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn rnn_mode<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the rnn_mode
attribute.
sourcepub fn input_mode<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn input_mode<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the input_mode
attribute.
sourcepub fn direction<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn direction<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the direction
attribute.
sourcepub fn is_training<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn is_training<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the is_training
attribute.
sourcepub fn time_major<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn time_major<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the time_major
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,
input: O0,
input_h: O1,
input_c: O2,
params: O3,
sequence_lengths: 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, input: O0, input_h: O1, input_c: O2, params: O3, sequence_lengths: O4, scope: &mut Scope ) -> Result<Operation>
Builds the CudnnRNNV3
operation.
sourcepub fn build_instance(
&self,
input: Output,
input_h: Output,
input_c: Output,
params: Output,
sequence_lengths: Output,
scope: &mut Scope
) -> Result<CudnnRNNV3Inst>
pub fn build_instance( &self, input: Output, input_h: Output, input_c: Output, params: Output, sequence_lengths: Output, scope: &mut Scope ) -> Result<CudnnRNNV3Inst>
Builds a new instance of ‘CudnnRNNV3’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for CudnnRNNV3
impl Debug for CudnnRNNV3
source§impl Default for CudnnRNNV3
impl Default for CudnnRNNV3
source§fn default() -> CudnnRNNV3
fn default() -> CudnnRNNV3
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for CudnnRNNV3
impl Send for CudnnRNNV3
impl Sync for CudnnRNNV3
impl Unpin for CudnnRNNV3
impl UnwindSafe for CudnnRNNV3
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