Struct tensorflow::eager::raw_ops::BlockLSTMGradV2
source · pub struct BlockLSTMGradV2 { /* private fields */ }
Expand description
BlockLSTMGradV2
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/BlockLSTMGradV2
Implementations§
source§impl BlockLSTMGradV2
impl BlockLSTMGradV2
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_v2.
Trait Implementations§
source§impl Clone for BlockLSTMGradV2
impl Clone for BlockLSTMGradV2
source§fn clone(&self) -> BlockLSTMGradV2
fn clone(&self) -> BlockLSTMGradV2
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 BlockLSTMGradV2
impl Debug for BlockLSTMGradV2
Auto Trait Implementations§
impl RefUnwindSafe for BlockLSTMGradV2
impl Send for BlockLSTMGradV2
impl Sync for BlockLSTMGradV2
impl Unpin for BlockLSTMGradV2
impl UnwindSafe for BlockLSTMGradV2
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