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