Struct tensorflow::ops::CudnnRNNParamsToCanonicalV2Inst
source · pub struct CudnnRNNParamsToCanonicalV2Inst {
pub op: Operation,
}
Expand description
An instance of ‘CudnnRNNParamsToCanonicalV2’ Operation with it’s Outputs and Inputs exposed as methods.
Fields§
§op: Operation
An instance of a fully built CudnnRNNParamsToCanonicalV2 Operation in a Tensorflow graph.
Implementations§
source§impl CudnnRNNParamsToCanonicalV2Inst
impl CudnnRNNParamsToCanonicalV2Inst
sourcepub fn weights(&self) -> Result<Vec<Output>>
pub fn weights(&self) -> Result<Vec<Output>>
Returns a Vector of weights for ‘weights’ Output of this CudnnRNNParamsToCanonicalV2 operation.
sourcepub fn biases(&self) -> Result<Vec<Output>>
pub fn biases(&self) -> Result<Vec<Output>>
Returns a Vector of biases for ‘biases’ Output of this CudnnRNNParamsToCanonicalV2 operation.
sourcepub fn num_layers(&self) -> Input<'_>
pub fn num_layers(&self) -> Input<'_>
Returns the ‘num_layers’ Input of this ‘CudnnRNNParamsToCanonicalV2’ operation.
sourcepub fn num_units(&self) -> Input<'_>
pub fn num_units(&self) -> Input<'_>
Returns the ‘num_units’ Input of this ‘CudnnRNNParamsToCanonicalV2’ operation.
sourcepub fn input_size(&self) -> Input<'_>
pub fn input_size(&self) -> Input<'_>
Returns the ‘input_size’ Input of this ‘CudnnRNNParamsToCanonicalV2’ operation.
Trait Implementations§
source§impl Clone for CudnnRNNParamsToCanonicalV2Inst
impl Clone for CudnnRNNParamsToCanonicalV2Inst
source§fn clone(&self) -> CudnnRNNParamsToCanonicalV2Inst
fn clone(&self) -> CudnnRNNParamsToCanonicalV2Inst
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl From<CudnnRNNParamsToCanonicalV2Inst> for Operation
impl From<CudnnRNNParamsToCanonicalV2Inst> for Operation
source§fn from(inst: CudnnRNNParamsToCanonicalV2Inst) -> Operation
fn from(inst: CudnnRNNParamsToCanonicalV2Inst) -> Operation
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for CudnnRNNParamsToCanonicalV2Inst
impl Send for CudnnRNNParamsToCanonicalV2Inst
impl Sync for CudnnRNNParamsToCanonicalV2Inst
impl Unpin for CudnnRNNParamsToCanonicalV2Inst
impl UnwindSafe for CudnnRNNParamsToCanonicalV2Inst
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