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