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