Struct tensorflow::ops::CudnnRNNCanonicalToParams
source · pub struct CudnnRNNCanonicalToParams { /* private fields */ }
Expand description
Builder for the CudnnRNNCanonicalToParams
operation.
Implementations§
source§impl CudnnRNNCanonicalToParams
impl CudnnRNNCanonicalToParams
sourcepub fn num_params<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn num_params<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the num_params
attribute.
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>, O3: Into<Output>, O4: Into<Output>>(
&self,
num_layers: O0,
num_units: O1,
input_size: O2,
weights: O3,
biases: 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, num_layers: O0, num_units: O1, input_size: O2, weights: O3, biases: O4, scope: &mut Scope ) -> Result<Operation>
Builds the CudnnRNNCanonicalToParams
operation.
sourcepub fn build_instance(
&self,
num_layers: Output,
num_units: Output,
input_size: Output,
weights: Vec<Output>,
biases: Vec<Output>,
scope: &mut Scope
) -> Result<CudnnRNNCanonicalToParamsInst>
pub fn build_instance( &self, num_layers: Output, num_units: Output, input_size: Output, weights: Vec<Output>, biases: Vec<Output>, scope: &mut Scope ) -> Result<CudnnRNNCanonicalToParamsInst>
Builds a new instance of ‘CudnnRNNCanonicalToParams’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for CudnnRNNCanonicalToParams
impl Debug for CudnnRNNCanonicalToParams
source§impl Default for CudnnRNNCanonicalToParams
impl Default for CudnnRNNCanonicalToParams
source§fn default() -> CudnnRNNCanonicalToParams
fn default() -> CudnnRNNCanonicalToParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for CudnnRNNCanonicalToParams
impl Send for CudnnRNNCanonicalToParams
impl Sync for CudnnRNNCanonicalToParams
impl Unpin for CudnnRNNCanonicalToParams
impl UnwindSafe for CudnnRNNCanonicalToParams
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