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