FST
openfst-1.8.2
OpenFst Library
|
#include <cstdint>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include <fst/log.h>
#include <fst/generic-register.h>
#include <fst/script/fst-class.h>
Go to the source code of this file.
Classes | |
class | fst::script::GenericOperationRegister< OperationSignature > |
struct | fst::script::Operation< Args > |
Namespaces | |
fst | |
fst::script | |
fst::script::internal | |
Macros | |
#define | REGISTER_FST_OPERATION(Op, Arc, ArgPack) |
#define | REGISTER_FST_OPERATION_3ARCS(Op, ArgPack) |
Enumerations | |
enum | fst::script::RandArcSelection : uint8_t { fst::script::RandArcSelection::UNIFORM, fst::script::RandArcSelection::LOG_PROB, fst::script::RandArcSelection::FAST_LOG_PROB } |
Functions | |
template<class OpReg > | |
void | fst::script::Apply (const std::string &op_name, const std::string &arc_type, typename OpReg::ArgPack *args) |
template<class M , class N > | |
bool | fst::script::internal::ArcTypesMatch (const M &m, const N &n, const std::string &op_name) |
template<class Weight > | |
void | fst::script::internal::CopyWeights (const std::vector< WeightClass > &weights, std::vector< Weight > *typed_weights) |
template<class Weight > | |
void | fst::script::internal::CopyWeights (const std::vector< Weight > &typed_weights, std::vector< WeightClass > *weights) |
std::vector< std::pair< int64_t, const FstClass * > > | fst::script::BorrowPairs (const std::vector< std::pair< int64_t, std::unique_ptr< const FstClass >>> &pairs) |
#define REGISTER_FST_OPERATION | ( | Op, | |
Arc, | |||
ArgPack | |||
) |
Definition at line 161 of file script-impl.h.
#define REGISTER_FST_OPERATION_3ARCS | ( | Op, | |
ArgPack | |||
) |
Definition at line 167 of file script-impl.h.