pub struct CudnnRNNParamsSize { /* private fields */ }
Expand description
Builder for the CudnnRNNParamsSize
operation.
Implementations§
Source§impl CudnnRNNParamsSize
impl CudnnRNNParamsSize
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 add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
Trait Implementations§
Source§impl Debug for CudnnRNNParamsSize
impl Debug for CudnnRNNParamsSize
Source§impl Default for CudnnRNNParamsSize
impl Default for CudnnRNNParamsSize
Source§fn default() -> CudnnRNNParamsSize
fn default() -> CudnnRNNParamsSize
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CudnnRNNParamsSize
impl RefUnwindSafe for CudnnRNNParamsSize
impl Send for CudnnRNNParamsSize
impl Sync for CudnnRNNParamsSize
impl Unpin for CudnnRNNParamsSize
impl UnwindSafe for CudnnRNNParamsSize
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