Struct tensorflow::eager::raw_ops::GRUBlockCell
source · pub struct GRUBlockCell { /* private fields */ }
Expand description
GRUBlockCell
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/GRUBlockCell
Implementations§
source§impl GRUBlockCell
impl GRUBlockCell
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>>(
&self,
ctx: &'a Context,
x: &T0,
h_prev: &T1,
w_ru: &T2,
w_c: &T3,
b_ru: &T4,
b_c: &T5
) -> Result<[TensorHandle<'a>; 4]>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>, T5: ToTensorHandle<'a>>( &self, ctx: &'a Context, x: &T0, h_prev: &T1, w_ru: &T2, w_c: &T3, b_ru: &T4, b_c: &T5 ) -> Result<[TensorHandle<'a>; 4]>
Execute grublock_cell.
Trait Implementations§
source§impl Clone for GRUBlockCell
impl Clone for GRUBlockCell
source§fn clone(&self) -> GRUBlockCell
fn clone(&self) -> GRUBlockCell
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 GRUBlockCell
impl Debug for GRUBlockCell
Auto Trait Implementations§
impl RefUnwindSafe for GRUBlockCell
impl Send for GRUBlockCell
impl Sync for GRUBlockCell
impl Unpin for GRUBlockCell
impl UnwindSafe for GRUBlockCell
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