Struct tensorflow::eager::raw_ops::LSTMBlockCellGrad
source · pub struct LSTMBlockCellGrad { /* private fields */ }
Expand description
LSTMBlockCellGrad
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/LSTMBlockCellGrad
Implementations§
source§impl LSTMBlockCellGrad
impl LSTMBlockCellGrad
sourcepub fn use_peephole<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn use_peephole<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the use_peephole
attribute.
sourcepub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>, T5: ToTensorHandle<'a>, T6: ToTensorHandle<'a>, T7: ToTensorHandle<'a>, T8: ToTensorHandle<'a>, T9: ToTensorHandle<'a>, T10: ToTensorHandle<'a>, T11: ToTensorHandle<'a>, T12: ToTensorHandle<'a>, T13: ToTensorHandle<'a>, T14: ToTensorHandle<'a>, T15: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
x: &T0,
cs_prev: &T1,
h_prev: &T2,
w: &T3,
wci: &T4,
wcf: &T5,
wco: &T6,
b: &T7,
i: &T8,
cs: &T9,
f: &T10,
o: &T11,
ci: &T12,
co: &T13,
cs_grad: &T14,
h_grad: &T15
) -> Result<[TensorHandle<'a>; 5]>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>, T5: ToTensorHandle<'a>, T6: ToTensorHandle<'a>, T7: ToTensorHandle<'a>, T8: ToTensorHandle<'a>, T9: ToTensorHandle<'a>, T10: ToTensorHandle<'a>, T11: ToTensorHandle<'a>, T12: ToTensorHandle<'a>, T13: ToTensorHandle<'a>, T14: ToTensorHandle<'a>, T15: ToTensorHandle<'a>>( &self, ctx: &'a Context, x: &T0, cs_prev: &T1, h_prev: &T2, w: &T3, wci: &T4, wcf: &T5, wco: &T6, b: &T7, i: &T8, cs: &T9, f: &T10, o: &T11, ci: &T12, co: &T13, cs_grad: &T14, h_grad: &T15 ) -> Result<[TensorHandle<'a>; 5]>
Execute lstmblock_cell_grad.
Trait Implementations§
source§impl Clone for LSTMBlockCellGrad
impl Clone for LSTMBlockCellGrad
source§fn clone(&self) -> LSTMBlockCellGrad
fn clone(&self) -> LSTMBlockCellGrad
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 Debug for LSTMBlockCellGrad
impl Debug for LSTMBlockCellGrad
Auto Trait Implementations§
impl RefUnwindSafe for LSTMBlockCellGrad
impl Send for LSTMBlockCellGrad
impl Sync for LSTMBlockCellGrad
impl Unpin for LSTMBlockCellGrad
impl UnwindSafe for LSTMBlockCellGrad
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