pub struct BlockLSTMGradV2Inst {
    pub op: Operation,
}
Expand description

An instance of ‘BlockLSTMGradV2’ Operation with it’s Outputs and Inputs exposed as methods.

Fields§

§op: Operation

An instance of a fully built BlockLSTMGradV2 Operation in a Tensorflow graph.

Implementations§

source§

impl BlockLSTMGradV2Inst

source

pub fn x_grad(&self) -> Output

Returns the ‘x_grad’ Output of this ‘BlockLSTMGradV2’ operation.

source

pub fn cs_prev_grad(&self) -> Output

Returns the ‘cs_prev_grad’ Output of this ‘BlockLSTMGradV2’ operation.

source

pub fn h_prev_grad(&self) -> Output

Returns the ‘h_prev_grad’ Output of this ‘BlockLSTMGradV2’ operation.

source

pub fn w_grad(&self) -> Output

Returns the ‘w_grad’ Output of this ‘BlockLSTMGradV2’ operation.

source

pub fn wci_grad(&self) -> Output

Returns the ‘wci_grad’ Output of this ‘BlockLSTMGradV2’ operation.

source

pub fn wcf_grad(&self) -> Output

Returns the ‘wcf_grad’ Output of this ‘BlockLSTMGradV2’ operation.

source

pub fn wco_grad(&self) -> Output

Returns the ‘wco_grad’ Output of this ‘BlockLSTMGradV2’ operation.

source

pub fn b_grad(&self) -> Output

Returns the ‘b_grad’ Output of this ‘BlockLSTMGradV2’ operation.

source

pub fn seq_len_max(&self) -> Input<'_>

Returns the ‘seq_len_max’ Input of this ‘BlockLSTMGradV2’ operation.

source

pub fn x(&self) -> Input<'_>

Returns the ‘x’ Input of this ‘BlockLSTMGradV2’ operation.

source

pub fn cs_prev(&self) -> Input<'_>

Returns the ‘cs_prev’ Input of this ‘BlockLSTMGradV2’ operation.

source

pub fn h_prev(&self) -> Input<'_>

Returns the ‘h_prev’ Input of this ‘BlockLSTMGradV2’ operation.

source

pub fn w(&self) -> Input<'_>

Returns the ‘w’ Input of this ‘BlockLSTMGradV2’ operation.

source

pub fn wci(&self) -> Input<'_>

Returns the ‘wci’ Input of this ‘BlockLSTMGradV2’ operation.

source

pub fn wcf(&self) -> Input<'_>

Returns the ‘wcf’ Input of this ‘BlockLSTMGradV2’ operation.

source

pub fn wco(&self) -> Input<'_>

Returns the ‘wco’ Input of this ‘BlockLSTMGradV2’ operation.

source

pub fn b(&self) -> Input<'_>

Returns the ‘b’ Input of this ‘BlockLSTMGradV2’ operation.

source

pub fn i(&self) -> Input<'_>

Returns the ‘i’ Input of this ‘BlockLSTMGradV2’ operation.

source

pub fn cs(&self) -> Input<'_>

Returns the ‘cs’ Input of this ‘BlockLSTMGradV2’ operation.

source

pub fn f(&self) -> Input<'_>

Returns the ‘f’ Input of this ‘BlockLSTMGradV2’ operation.

source

pub fn o(&self) -> Input<'_>

Returns the ‘o’ Input of this ‘BlockLSTMGradV2’ operation.

source

pub fn ci(&self) -> Input<'_>

Returns the ‘ci’ Input of this ‘BlockLSTMGradV2’ operation.

source

pub fn co(&self) -> Input<'_>

Returns the ‘co’ Input of this ‘BlockLSTMGradV2’ operation.

source

pub fn h(&self) -> Input<'_>

Returns the ‘h’ Input of this ‘BlockLSTMGradV2’ operation.

source

pub fn cs_grad(&self) -> Input<'_>

Returns the ‘cs_grad’ Input of this ‘BlockLSTMGradV2’ operation.

source

pub fn h_grad(&self) -> Input<'_>

Returns the ‘h_grad’ Input of this ‘BlockLSTMGradV2’ operation.

Trait Implementations§

source§

impl Clone for BlockLSTMGradV2Inst

source§

fn clone(&self) -> BlockLSTMGradV2Inst

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BlockLSTMGradV2Inst

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<BlockLSTMGradV2Inst> for Operation

source§

fn from(inst: BlockLSTMGradV2Inst) -> Operation

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.