Struct tensorflow::eager::raw_ops::BlockLSTMV2
source · pub struct BlockLSTMV2 { /* private fields */ }
Expand description
BlockLSTMV2
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/BlockLSTMV2
Implementations§
source§impl BlockLSTMV2
impl BlockLSTMV2
sourcepub fn cell_clip<ArgType: Into<f32>>(self, value: ArgType) -> Self
pub fn cell_clip<ArgType: Into<f32>>(self, value: ArgType) -> Self
Sets the cell_clip
attribute.
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>>(
&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
) -> Result<[TensorHandle<'a>; 7]>
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>>( &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 ) -> Result<[TensorHandle<'a>; 7]>
Execute block_lstmv2.
Trait Implementations§
source§impl Clone for BlockLSTMV2
impl Clone for BlockLSTMV2
source§fn clone(&self) -> BlockLSTMV2
fn clone(&self) -> BlockLSTMV2
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 BlockLSTMV2
impl Debug for BlockLSTMV2
Auto Trait Implementations§
impl RefUnwindSafe for BlockLSTMV2
impl Send for BlockLSTMV2
impl Sync for BlockLSTMV2
impl Unpin for BlockLSTMV2
impl UnwindSafe for BlockLSTMV2
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