亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? hadapt.h

?? 隱馬爾科夫模型工具箱
?? H
字號:
/* ----------------------------------------------------------- *//*                                                             *//*                          ___                                *//*                       |_| | |_/   SPEECH                    *//*                       | | | | \   RECOGNITION               *//*                       =========   SOFTWARE                  */ /*                                                             *//*                                                             *//* ----------------------------------------------------------- *//*         Copyright: Microsoft Corporation                    *//*          1995-2000 Redmond, Washington USA                  *//*                    http://www.microsoft.com                 *//*                                                             *//*   Use of this software is governed by a License Agreement   *//*    ** See the file License for the Conditions of Use  **    *//*    **     This banner notice must not be removed      **    *//*                                                             *//* ----------------------------------------------------------- *//*         File: HAdapt.h      Adaptation Library module       *//* ----------------------------------------------------------- *//* !HVER!HAdapt:   3.2 [CUED 09/12/02] */#ifndef _HADAPT_H_#define _HADAPT_H_#ifdef __cplusplusextern "C" {#endifenum _RegClassType{ADPTUNDEF=0,ADPTFIXED=1,ADPTTREE=2};typedef enum _RegClassType RegClassType;enum _RegTransType{TRANSUNDEF=0,MEANONLY=1,MEANVAR=2};typedef enum _RegTransType RegTransType;#define DEF_BLOCKSIZE          1   /* define the default blocksize */#define DEF_REGCLASS    ADPTTREE   /* define the default Reg Class Type *//* ------------- Block Matrix Definitions -------------- *//* A block matrix is a array of square matrices *//* There are nBlocks matrices,    and each matrix is a square matrix of blockSize *//* [1..nBlocks] of matrix[blockSize][blockSize] */typedef Matrix  *BlockMatrix;typedef DMatrix *BlockDMatrix;typedef TriMat  *BlockTriMatrix;/* ------------ End Block Matrix Definitions ------------ *//* structure to hold the mean regression matrix & bias vector: x' = ax + b   plus the Z accumumulation structure */typedef struct {  BlockMatrix a;            /* block diagonal matrix */  Vector b;                 /* bias vector           */} OffsetBMat;/* specialist structure for the G matrix ! */typedef struct {  BlockTriMatrix a;         /* block tri-diagonal matrix */  Vector b;                 /* bias vector               */} OffsetTriBMat;typedef struct {  Boolean speechFlag;       /* flag to see if class is speech/non-speech */  short baseformIndex;      /* regression class index number */  int nComponents;          /* number of components in this class */  float  occ;               /* baseform's occ count for ALL incoming data */    Vector H;                 /* the H accumulates for base class (covar) */  OffsetTriBMat **G;        /* the G accumulates for base class */  OffsetBMat *Z;            /* the Z accumulates for base class */  MixPDF **pdfList;         /* array list of pointers to pdfs in base class */} BaseformAcc;typedef struct {  short        nBases;      /* number of baseforms for this node */  short     nodeIndex;      /* node's index number */  short        *bases;      /* list of baseform indices for this node */  int       nodeComps;      /* the number of components present at a node */    float       nodeOcc;      /* node's occupation count */      OffsetBMat  *WTrans;      /* mean matrix transform for node */   Vector       HTrans;      /* diag cov vector transform for node */  Matrix    backTrans;      /* inverse mean transform matrix */} RegNode ;/* structure to hold the regression tree :-   a) Global transform has all stats stored at the root node    b) Fixed transform has only left children (all right children are NULL)   c) Standard regression tree */typedef struct _RegTree {    struct _RegTree *left;  struct _RegTree *right;  RegNode *nodeInfo;  Ptr node;} RegTree;/* structure to hold information pertaining to this transform set */typedef struct {  char *uid;                /* user identifier */   char *name;               /* user's full name */  char *hmmSetId;           /* hmm set identifier */  char *rcId;               /* regression class type identifier */  char *chan;               /* desc of channel used for data collection */  char *desc;               /* general description */} TransformId;/* structure to hold the regression classes and accumulation information */typedef struct {  TransformId *transId;     /* information identifier for this transform */  HMMSet *hset;             /* HMMSet being transformed */  MemHeap *hmem;            /* mem heap for HAdapt module */  MemHeap pdfStatsMem;      /* mem heap solely for the mixPDF accumulations */  MemHeap transMem;         /* mem heap solely for the transform structures */  short vSize;              /* vector size */  short nBlocks;            /* number of blocks in each transform */   short nBaseTransforms;    /* total number of possible transforms   */  RegClassType classKind;   /* type of regression class */  RegTransType transKind;   /* type of regression transformations */  TriState adptSil;         /* Flag for adapting silence */  float nodeOccThresh;      /* Node occupation threshold for 			       generating a transform */  /* Boolean transWithBias; Use of loaded bias */  /*  TriState useBias;     Use of bias */  RegTree *rtree;           /* regression tree */  BaseformAcc **baseforms;  /* list of baseform accumulates */} RegTransInfo ;/* structure to store the regression accumulations */typedef struct {  /* in place of PreComp -- necessary for f-b routines */  /* DO NOT MOVE or REMOVE !!! */  PreComp  pre;             /* PreComputed Mixture calculation structure */  /* the rest */  float    occ;             /* occupation count */  Vector   obsSum;          /* summed speech vectors, scaled by posterior */  Vector   obsSqSum;        /* summed sqared sp. vecs, scaled by posterior */  /* MixPDF   *nextMix;      next mixture in the regression class list */} RegAcc ;/* -------------------- Initialisation Functions -------------------------- */void InitAdapt(void);/*   Initialise configuration parameters*/void InitialiseTransform( HMMSet *hset, MemHeap *x, RegTransInfo *rt,			  Boolean adapt );/*   Initialise transforms storage and grouping of hmmset components   to regression base class using linked lists */void InitialiseAdapt(HMMSet *hset,MemHeap *x, RegTransInfo *rt);/*    Initialise adaptation storage*//* -------------------- Save/Load Transform Functions --------------------- */void SaveTransformSet(HMMSet *hset, RegTransInfo *rt, char *saveFile, 		      char *transPath, char *uid, char *uname, char *chan, 		      char *desc, Boolean saveStats, Boolean global,		      Boolean saveBinary);/*    Save the transforms to a file, and also optionally save   transform statistics allowing continued adaptation*/Boolean LoadTransformSet(HMMSet *hset, char *tfile, char *uid,			 RegTransInfo *rt, Boolean *useStats);/*    Load the transforms into memory; if useStats is requested and    transform does not contain any statistics, then useStats is   reset to FALSE -- returns FALSE if tmf is unsuitable   for current HMMSet*//* ---------------- Accumulation Control Functions ------------------------ */void AccAdaptFrame(double Lr, Vector speechVec, MixPDF *mp, RegTransInfo *rt);/*    Accumulate frame stats into specific mixture comp*/void ClearRegCompStats(HMMSet *hset, RegTransInfo *rt);/*    Clear for regression level accumulated stats */void ClearBaseClassStats(RegTransInfo *rt);/*    Clear for base class level accumulated stats *//* ----------------- Mixture Transformation Functions --------------------- *//* ----- Transform application functions ---- */void ApplyMeanTransforms(RegTransInfo *rt, RegTree *t);/*    Apply the mean transform to the regression classes*/void ApplyCovarTransforms(RegTransInfo *rt, RegTree *t);/*   Apply the covariance transform to the regression classes*/Boolean ApplyMeanGlobalTransform(RegTransInfo *rt);/*    Apply the mean Global transformation -- returns true if global is found */Boolean ApplyCovarGlobalTransform(RegTransInfo *rt);/*   Apply the covar Global transformation -- returns true if global is found */void ApplyTransforms(RegTransInfo *rt);/*    Apply the mean and possibly the covar MLLR transformations*/Boolean ApplyBackwardGlobalTransform(RegTransInfo *rt);/*    Apply the backward global transformation to the model set    to obtain the "original" models -- returns TRUE if global is found*/void ApplyBackwardTransforms(RegTransInfo *rt);/*   Apply the backward transformation to the model set    to obtain the "original" models*//* ----- Transform calculation/update ----- */void CalcMeanTransforms(RegTransInfo *rt);/*    Calculate the mean transforms for every regression class */void CalcCovarTransforms(RegTransInfo *rt);/*    Calculate the covariance transforms for every regression class*/void GetBackwardTransforms(RegTransInfo *rt);/*    Calculates the backward transformation by inverting    the original transform*/void UpdateMAP(RegTransInfo *rt, float tau);/*    Update the models using Maximum A-Posteriori Adaptation (MAP) *//* ---------------- General adaptation Call ------------------------------- *//* EXPORT->DoAdaptation: Given the initialisation to the adaptation *//* MLLR Adaptation    Before this function is called HFB must be called via "FBFile"   to perfrom a frame/state alignment and accumulate regression statistics   at the mixture level    DoAdaptation does:-   1) Transform current models back to their original state (as loaded)   2) Calculation mean transform and apply the transform   3) Calculate the covariance transform (if requested) and apply*/void DoAdaptation(RegTransInfo *rt, Boolean global);#ifdef __cplusplus}#endif#endif  /* _HADAPT_H_ *//* ---------------------------- END HAdapt.h ------------------------------ */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品另类一区| 91麻豆精品国产综合久久久久久 | 国产高清不卡一区二区| 亚洲国产成人av好男人在线观看| 久久久久久久久久久久久夜| 日韩视频免费观看高清在线视频| 欧美午夜在线观看| 欧美三电影在线| 欧美高清激情brazzers| 91精品国产综合久久福利| 欧美群妇大交群中文字幕| 欧美猛男超大videosgay| 欧美日韩色一区| 日韩一本二本av| 国产精品美女久久久久aⅴ国产馆| 久久精品人人做人人综合 | 欧美一区二区福利视频| 日韩欧美中文一区| 国产亚洲一区二区三区| 亚洲欧洲综合另类| 亚洲一区二区综合| 国产成人福利片| 欧美午夜片在线观看| 91精品国产综合久久香蕉的特点 | 久久精品一区二区三区四区| 中文字幕一区二区三区色视频| 最新国产成人在线观看| 亚洲第一综合色| 麻豆成人免费电影| 在线观看成人免费视频| 欧美大尺度电影在线| 国产欧美精品一区aⅴ影院| 亚洲午夜激情网页| 成人性生交大片免费| 欧美日韩精品欧美日韩精品一| 日韩片之四级片| 亚洲欧美日韩久久精品| 国产一区二区三区免费观看| 成人午夜视频网站| 日韩精品一区二区三区中文不卡 | 欧美成人女星排名| 亚洲丶国产丶欧美一区二区三区| 午夜欧美在线一二页| 国产精品久久久久久久久免费丝袜 | 一区二区三区 在线观看视频| 亚洲色图一区二区| 欧美极品xxx| 亚洲成人精品在线观看| 欧美日韩精品一区二区三区 | 午夜精品久久久久久久久久| 亚洲国产成人av| 蜜桃精品视频在线| 国产精品电影院| 国产91丝袜在线18| 色婷婷亚洲综合| 国产午夜三级一区二区三| 亚洲精品乱码久久久久久久久 | 色婷婷久久一区二区三区麻豆| 国产精品美女久久福利网站 | 丝袜美腿亚洲一区二区图片| 色嗨嗨av一区二区三区| 国产无一区二区| 风流少妇一区二区| 制服丝袜激情欧洲亚洲| 亚洲va在线va天堂| 欧美日本国产一区| 九九国产精品视频| 麻豆精品视频在线观看视频| 丝袜美腿一区二区三区| 欧美日本免费一区二区三区| 亚洲福中文字幕伊人影院| av激情成人网| 国产毛片精品视频| 美女免费视频一区| 国产亚洲一区字幕| 色综合久久久久综合体桃花网| 国产亚洲一区字幕| 日本一区二区不卡视频| 亚洲尤物在线视频观看| 亚洲男女毛片无遮挡| 欧美成人官网二区| 激情综合色播激情啊| 亚洲欧洲av另类| 国产女人18毛片水真多成人如厕| 欧美性极品少妇| 色哟哟一区二区在线观看| 国产白丝精品91爽爽久久| 国产乱子伦视频一区二区三区 | 91小视频在线观看| 国产在线国偷精品产拍免费yy| 日韩精品91亚洲二区在线观看| 亚洲视频一二三| 亚洲视频资源在线| 日韩一区在线看| 亚洲亚洲人成综合网络| 亚洲成人久久影院| 九九九精品视频| 99久久国产综合精品女不卡| 天堂蜜桃一区二区三区| 亚洲女与黑人做爰| 99精品视频在线观看| 久久夜色精品一区| 蜜臀av性久久久久蜜臀aⅴ流畅| 欧美亚洲免费在线一区| 国产精品乱人伦一区二区| 看国产成人h片视频| 欧美二区在线观看| 免费观看成人鲁鲁鲁鲁鲁视频| 欧美日韩一级大片网址| 亚洲免费伊人电影| 26uuu精品一区二区三区四区在线| 欧美成人三级在线| 亚洲一区二区三区不卡国产欧美| 舔着乳尖日韩一区| 99re这里都是精品| 久久久久88色偷偷免费| 亚洲国产aⅴ天堂久久| 99国产精品国产精品久久| 日韩写真欧美这视频| 亚洲成人资源在线| 91麻豆成人久久精品二区三区| 精品国产青草久久久久福利| 亚洲第一搞黄网站| 欧美一a一片一级一片| 中文字幕一区二区三区不卡| 蜜桃精品在线观看| 91麻豆精品国产91久久久资源速度 | 精品成人在线观看| 韩国一区二区视频| 精品国精品自拍自在线| 精品亚洲国内自在自线福利| 日韩一级免费一区| 久久精品国产精品青草| 久久综合狠狠综合| 国内成人自拍视频| 国产欧美日韩在线| av一区二区三区四区| 亚洲色图欧美偷拍| 91网站视频在线观看| 一区二区三区中文字幕| 欧美三片在线视频观看| 韩国av一区二区| 亚洲欧美偷拍三级| 欧美色倩网站大全免费| 激情国产一区二区| 亚洲欧美日韩国产一区二区三区| 欧美日韩视频在线观看一区二区三区| 亚洲1区2区3区4区| 久久蜜桃av一区精品变态类天堂| 欧美喷潮久久久xxxxx| 国产成人一区在线| 日韩av一区二区在线影视| 久久九九影视网| 欧美mv日韩mv国产网站| 色狠狠一区二区| 99精品视频在线观看免费| 久久99精品国产麻豆婷婷洗澡| 一区二区国产盗摄色噜噜| 精品国产污污免费网站入口| 日本高清视频一区二区| 成人国产在线观看| 另类综合日韩欧美亚洲| 亚洲国产中文字幕在线视频综合| 国产婷婷色一区二区三区在线| 在线综合亚洲欧美在线视频| 91麻豆成人久久精品二区三区| 韩国在线一区二区| 久久精品国产一区二区三| 日韩高清一级片| 天堂久久一区二区三区| 午夜精品久久久久久久99水蜜桃| 国产欧美日韩在线看| 欧美大片日本大片免费观看| 欧美精品久久99久久在免费线| 99国产精品久久久久久久久久| av一本久道久久综合久久鬼色| 丰满放荡岳乱妇91ww| 91视频免费看| 在线看国产一区二区| 欧美日韩夫妻久久| 91精品国产91久久综合桃花 | 日韩av电影免费观看高清完整版在线观看| 综合婷婷亚洲小说| 亚洲国产裸拍裸体视频在线观看乱了| 亚洲激情第一区| 日本欧美久久久久免费播放网| 日韩精品电影在线| 狠狠色狠狠色综合日日91app| 国产精品亚洲一区二区三区在线| 国产精品一区久久久久| av一本久道久久综合久久鬼色| 日本韩国欧美一区二区三区| 5566中文字幕一区二区电影 | 国产综合久久久久影院| 99免费精品在线| 欧美成人猛片aaaaaaa| 亚洲欧洲av另类| 国产一区二区在线看| 欧美手机在线视频| 欧美激情综合五月色丁香小说|