Struct tensorflow::ops::CudnnRNNParamsSize
source · 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.
sourcepub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>>(
&self,
num_layers: O0,
num_units: O1,
input_size: O2,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>>( &self, num_layers: O0, num_units: O1, input_size: O2, scope: &mut Scope ) -> Result<Operation>
Builds the CudnnRNNParamsSize
operation.
sourcepub fn build_instance(
&self,
num_layers: Output,
num_units: Output,
input_size: Output,
scope: &mut Scope
) -> Result<CudnnRNNParamsSizeInst>
pub fn build_instance( &self, num_layers: Output, num_units: Output, input_size: Output, scope: &mut Scope ) -> Result<CudnnRNNParamsSizeInst>
Builds a new instance of ‘CudnnRNNParamsSize’ Operation with it’s Outputs and Inputs exposed as methods.
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 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