Struct tensorflow::eager::raw_ops::BlockLSTM
source · pub struct BlockLSTM { /* private fields */ }
Expand description
BlockLSTM
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/BlockLSTM
Implementations§
source§impl BlockLSTM
impl BlockLSTM
sourcepub fn forget_bias<ArgType: Into<f32>>(self, value: ArgType) -> Self
pub fn forget_bias<ArgType: Into<f32>>(self, value: ArgType) -> Self
Sets the forget_bias
attribute.
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_lstm.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for BlockLSTM
impl Send for BlockLSTM
impl Sync for BlockLSTM
impl Unpin for BlockLSTM
impl UnwindSafe for BlockLSTM
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