Class States

Class Documentation

class States

Public Functions

States()
States(const std::vector<State> &states)
States(size_t num, State state)
std::vector<State>::iterator begin()
std::vector<State>::iterator end()
std::vector<State>::const_iterator begin() const
std::vector<State>::const_iterator end() const
Expr outputs()
State &operator[](size_t i)
const State &operator[](size_t i) const
State &back()
const State &back() const
State &front()
const State &front() const
size_t size() const
void push_back(const State &state)
States select(const std::vector<IndexType> &selIdx, int beamSize, bool isBatchMajor) const
void reverse()
void clear()