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