Struct tensorflow::eager::raw_ops::LSTMBlockCell
source · pub struct LSTMBlockCell { /* private fields */ }
Expand description
LSTMBlockCell
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/LSTMBlockCell
Implementations§
source§impl LSTMBlockCell
impl LSTMBlockCell
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>>(
&self,
ctx: &'a Context,
x: &T0,
cs_prev: &T1,
h_prev: &T2,
w: &T3,
wci: &T4,
wcf: &T5,
wco: &T6,
b: &T7
) -> 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>>( &self, ctx: &'a Context, x: &T0, cs_prev: &T1, h_prev: &T2, w: &T3, wci: &T4, wcf: &T5, wco: &T6, b: &T7 ) -> Result<[TensorHandle<'a>; 7]>
Execute lstmblock_cell.
Trait Implementations§
source§impl Clone for LSTMBlockCell
impl Clone for LSTMBlockCell
source§fn clone(&self) -> LSTMBlockCell
fn clone(&self) -> LSTMBlockCell
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 LSTMBlockCell
impl Debug for LSTMBlockCell
Auto Trait Implementations§
impl RefUnwindSafe for LSTMBlockCell
impl Send for LSTMBlockCell
impl Sync for LSTMBlockCell
impl Unpin for LSTMBlockCell
impl UnwindSafe for LSTMBlockCell
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