FST  openfst-1.7.2
OpenFst Library
Classes | Namespaces | Macros | Enumerations | Functions
script-impl.h File Reference
#include <string>
#include <utility>
#include <fst/generic-register.h>
#include <fst/script/fst-class.h>
#include <fst/log.h>
Include dependency graph for script-impl.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)
 

Enumerations

enum  fst::script::RandArcSelection { fst::script::UNIFORM_ARC_SELECTOR, fst::script::LOG_PROB_ARC_SELECTOR, fst::script::FAST_LOG_PROB_ARC_SELECTOR }
 

Functions

template<class OpReg >
void fst::script::Apply (const string &op_name, const string &arc_type, typename OpReg::ArgPack *args)
 
template<class M , class N >
bool fst::script::internal::ArcTypesMatch (const M &m, const N &n, const 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)
 

Macro Definition Documentation

#define REGISTER_FST_OPERATION (   Op,
  Arc,
  ArgPack 
)
Value:
arc_dispatched_operation_##ArgPack##Op##Arc##_registerer \
(std::make_pair(#Op, Arc::Type()), Op<Arc>)

Definition at line 150 of file script-impl.h.