LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
deeplima::eigen_impl::Op_BiLSTM< M, V, T >::workbench_t Struct Reference

#include <deeplima/eigen_wrp/bilstm.h>

Inheritance diagram for deeplima::eigen_impl::Op_BiLSTM< M, V, T >::workbench_t:
deeplima::eigen_impl::Op_Base::workbench_t

Public Member Functions

 workbench_t (const params_t &p, uint32_t input_size, bool precomputed_input)
 
const M & get_last_output ()
 
virtual ~workbench_t ()
 

Public Attributes

std::vector< M > temps
 
std::vector< M > outputs
 
std::vector< V > fw_h
 
std::vector< V > fw_c
 
std::vector< V > bw_h
 
std::vector< V > bw_c
 
std::vector< V > zeros
 
bool m_precomputed_input
 

Detailed Description

template<class M, class V, class T>
struct deeplima::eigen_impl::Op_BiLSTM< M, V, T >::workbench_t

Definition at line 105 of file bilstm.h.

Constructor & Destructor Documentation

◆ workbench_t()

template<class M , class V , class T >
deeplima::eigen_impl::Op_BiLSTM< M, V, T >::workbench_t::workbench_t ( const params_t &  p,
uint32_t  input_size,
bool  precomputed_input 
)
inline

Definition at line 107 of file bilstm.h.

◆ ~workbench_t()

template<class M , class V , class T >
virtual deeplima::eigen_impl::Op_BiLSTM< M, V, T >::workbench_t::~workbench_t ( )
inlinevirtual

Reimplemented from deeplima::eigen_impl::Op_Base::workbench_t.

Definition at line 135 of file bilstm.h.

Member Function Documentation

◆ get_last_output()

template<class M , class V , class T >
const M & deeplima::eigen_impl::Op_BiLSTM< M, V, T >::workbench_t::get_last_output ( )
inline

Definition at line 130 of file bilstm.h.

Member Data Documentation

◆ bw_c

template<class M , class V , class T >
std::vector<V> deeplima::eigen_impl::Op_BiLSTM< M, V, T >::workbench_t::bw_c

Definition at line 139 of file bilstm.h.

◆ bw_h

template<class M , class V , class T >
std::vector<V> deeplima::eigen_impl::Op_BiLSTM< M, V, T >::workbench_t::bw_h

Definition at line 139 of file bilstm.h.

◆ fw_c

template<class M , class V , class T >
std::vector<V> deeplima::eigen_impl::Op_BiLSTM< M, V, T >::workbench_t::fw_c

Definition at line 139 of file bilstm.h.

◆ fw_h

template<class M , class V , class T >
std::vector<V> deeplima::eigen_impl::Op_BiLSTM< M, V, T >::workbench_t::fw_h

Definition at line 139 of file bilstm.h.

◆ m_precomputed_input

template<class M , class V , class T >
bool deeplima::eigen_impl::Op_BiLSTM< M, V, T >::workbench_t::m_precomputed_input

Definition at line 141 of file bilstm.h.

◆ outputs

template<class M , class V , class T >
std::vector<M> deeplima::eigen_impl::Op_BiLSTM< M, V, T >::workbench_t::outputs

Definition at line 138 of file bilstm.h.

◆ temps

template<class M , class V , class T >
std::vector<M> deeplima::eigen_impl::Op_BiLSTM< M, V, T >::workbench_t::temps

Definition at line 137 of file bilstm.h.

◆ zeros

template<class M , class V , class T >
std::vector<V> deeplima::eigen_impl::Op_BiLSTM< M, V, T >::workbench_t::zeros

Definition at line 140 of file bilstm.h.


The documentation for this struct was generated from the following file: