[−][src]Struct tract_onnx::ops::rec::lstm::LSTM
Fields
optional_bias_input: Option<usize>
optional_sequence_lens_input: Option<usize>
optional_initial_h_input: Option<usize>
optional_initial_c_input: Option<usize>
optional_p_input: Option<usize>
optional_y_output: Option<usize>
optional_y_h_output: Option<usize>
optional_y_c_output: Option<usize>
f: Box<dyn TypedOp>
g: Box<dyn TypedOp>
h: Box<dyn TypedOp>
Implementations
impl LSTM
[src]
pub fn new(
optional_bias_input: Option<usize>,
optional_sequence_lens_input: Option<usize>,
optional_initial_h_input: Option<usize>,
optional_initial_c_input: Option<usize>,
optional_p_input: Option<usize>,
optional_y_output: Option<usize>,
optional_y_h_output: Option<usize>,
optional_y_c_output: Option<usize>,
f: Box<dyn TypedOp>,
g: Box<dyn TypedOp>,
h: Box<dyn TypedOp>
) -> Self
[src]
optional_bias_input: Option<usize>,
optional_sequence_lens_input: Option<usize>,
optional_initial_h_input: Option<usize>,
optional_initial_c_input: Option<usize>,
optional_p_input: Option<usize>,
optional_y_output: Option<usize>,
optional_y_h_output: Option<usize>,
optional_y_c_output: Option<usize>,
f: Box<dyn TypedOp>,
g: Box<dyn TypedOp>,
h: Box<dyn TypedOp>
) -> Self
Constructs a new LSTM
.
Trait Implementations
impl Clone for LSTM
[src]
impl Debug for LSTM
[src]
impl Default for LSTM
[src]
impl DynHash for LSTM
[src]
impl Expansion for LSTM
[src]
pub fn name(&self) -> Cow<'_, str>
[src]
pub fn op_families(&self) -> &'static [&'static str]ⓘ
[src]
pub fn validation(&self) -> Validation
[src]
pub fn rules<'r, 'p: 'r, 's: 'r>(
&'s self,
s: &mut Solver<'r>,
inputs: &'p [TensorProxy],
outputs: &'p [TensorProxy]
) -> TractResult<()>
[src]
&'s self,
s: &mut Solver<'r>,
inputs: &'p [TensorProxy],
outputs: &'p [TensorProxy]
) -> TractResult<()>
pub fn nboutputs(&self) -> TractResult<usize>
[src]
pub fn wire(
&self,
prefix: &str,
target: &mut TypedModel,
inputs: &[OutletId]
) -> TractResult<TVec<OutletId>>
[src]
&self,
prefix: &str,
target: &mut TypedModel,
inputs: &[OutletId]
) -> TractResult<TVec<OutletId>>
pub fn info(&self) -> Result<Vec<String, Global>, Error>
[src]
impl Hash for LSTM
[src]
Auto Trait Implementations
impl !RefUnwindSafe for LSTM
[src]
impl Send for LSTM
[src]
impl Sync for LSTM
[src]
impl Unpin for LSTM
[src]
impl !UnwindSafe for LSTM
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> Downcast for T where
T: Any,
T: Any,
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>ⓘNotable traits for Box<R, Global>
impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Unpin + Future + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
Notable traits for Box<R, Global>
impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;impl<F, A> Future for Box<F, A> where
F: Unpin + Future + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
pub fn as_any(&self) -> &(dyn Any + 'static)
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
pub fn __clone_box(&self, Private) -> *mut ()
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,