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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? htrain.h

?? 隱馬爾科夫模型工具箱
?? H
字號:
/* ----------------------------------------------------------- *//*                                                             *//*                          ___                                *//*                       |_| | |_/   SPEECH                    *//*                       | | | | \   RECOGNITION               *//*                       =========   SOFTWARE                  */ /*                                                             *//*                                                             *//* ----------------------------------------------------------- *//* developed at:                                               *//*                                                             *//*      Speech Vision and Robotics group                       *//*      Cambridge University Engineering Department            *//*      http://svr-www.eng.cam.ac.uk/                          *//*                                                             *//*      Entropic Cambridge Research Laboratory                 *//*      (now part of Microsoft)                                *//*                                                             *//* ----------------------------------------------------------- *//*         Copyright: Microsoft Corporation                    *//*          1995-2000 Redmond, Washington USA                  *//*                    http://www.microsoft.com                 *//*                                                             *//*              2002  Cambridge University                     *//*                    Engineering Department                   *//*                                                             *//*   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: HTrain.h   HMM Training Support Routines      *//* ----------------------------------------------------------- *//* !HVER!HTrain:   3.2 [CUED 09/12/02] */#ifndef _HTRAIN_H_#define _HTRAIN_H_#ifdef __cplusplusextern "C" {#endifvoid InitTrain(void);/*   Initialise the module*//* ------------------ Generic Sequence Type --------------- */typedef struct _ItemBlock *IBLink;typedef struct _ItemBlock{   int used;         /* num items in this block */   IBLink next;      /* next block in chain */   Ptr *items;       /* array[0..blkSize-1] of items */}ItemBlock;typedef struct {   MemHeap *mem;     /* memory stack for this sequence */   int nItems;       /* number of items stored */   int nFree;        /* number of items slots in total */   int blkSize;      /* size of an item block */   IBLink hd;        /* head of list of item blocks */   IBLink tl;        /* tail of list of item blocks */}SequenceInfo;typedef SequenceInfo *Sequence;Sequence CreateSequence(MemHeap *x, int blkSize);/*    Create and return an empty sequence.  Each sequence is accessed by   an index in range 1..nItems.  The blkSize affects efficiency, it   should be large for random access to long sequences and small if   items are frequently deleted.  The MemHeap must be a stack.  There   is no Dispose operation, use ResetHeap(x) instead.  Sequences can   also be used for unordered sets.*/void StoreItem(Sequence seq, Ptr item);/*    Add item to end of sequence*/void DeleteItem(Sequence seq, int i);/*   Delete i'th Item from seq. */Ptr GetItem(Sequence seq, int i);/*   Return ptr to the i'th item in sequence*/void SequenceMean(Sequence ss, Vector mean);/*   Compute the mean of the set (sequence) of vectors stored in ss.  */   void SequenceCov(Sequence ss, CovKind ck, Covariance cov, Vector mean);/*   Compute the (co)variance of the set (sequence) of vectors stored    in ss whose mean is given by mean.  The form of the covariance   is determined by ck which must be DIAGC,INVDIAGC or FULLC.*//* ------------ Segment (Observation Sequence) Storage ------------ */typedef struct _SegStoreRec * SegStore;typedef struct _SegStoreRec{   MemHeap *mem;        /* memory for this seg store */   int segLen;          /* blkSize for each segment */   Observation o;       /* used as an 'i/o channel' to segstore */   Boolean hasfv;   Boolean hasvq;   Sequence fvSegs;     /* each seg is a sequence of fv[SMAX] */   Sequence vqSegs;     /* each seg is a sequence of vq[SMAX] */}SegStoreRec;SegStore CreateSegStore(MemHeap *x, Observation obs, int segLen);/*    Create and return an empty segment store suitable for observations   of form obs.  Each segment is an ordered sequence of observations with   blkSize == segLen.  A segment store is a sequence of segments with   blkSize = 100.*/void LoadSegment(SegStore ss, HTime start, HTime end, ParmBuf pbuf);/*   Extract the segment of observations in pbuf covering the time span   start to end then create a sequence in ss containing them.*/int NumSegs(SegStore ss);/*   Return number of segments in ss*/int SegLength(SegStore ss, int i);/*   Return the number of observations in the i'th segment*/Observation GetSegObs(SegStore ss, int i, int j);/*   Return j'th observation from i'th segment.  All indices 1..N*//* --------------------- Vector Clustering -------------------- *//* Clusters are represented by an array of Cluster records    In linear case, each record represents a cluster.   In tree case, each record represents a node of the tree in   which cluster 1 is always the root node and the remaining   nodes are stored in row order.*/typedef struct {  /* auxiliary info for each cluster */   int csize;      /* num items in this cluster */   Vector vCtr;    /* cluster centre vector */   Covariance cov; /* covariance of cluster */   float aveCost;  /* average cost of cluster */}Cluster;typedef struct {   MemHeap *x;     /* memheap holding this set */   Boolean isTree; /* true if tree clustered */   int numClust;   /* num cluster nodes */   CovKind ck;     /* type of covariance if any */   Cluster *cl;    /* array[1..numClust]of Cluster */}ClusterSet;ClusterSet *FlatCluster(MemHeap *x, Sequence vpool, int nc,                         CovKind dck, CovKind cck, Covariance dcov);ClusterSet *TreeCluster(MemHeap *x, Sequence vpool, int nc,                         CovKind dck, CovKind cck, Covariance dcov);/*   Create and return a set of clusters allocated in x.  vpool holds   the set of vectors to be split into nc distinct clusters using a   top-down clustering algorithm.  The cov kind dck determines the   distance measure used:       dck==NULLC,  euclidean distance, dcov is ignored       dck==INVDIAGC, diagonal covariance mahalanobis       dck==FULLC,    full covariance mahalanobis   The cov kind cck determines what type of covariance, if any is   computed at each node.  This choice does not affect the clustering,   only the subsequent use of the cluster nodes.  The max number of   iterations per cluster cycle (default 10) can be set by the   configuration variable MAXCLUSTITER.  MemHeap must be a stack.*/void FreeClusterSet(ClusterSet *cs);/*   Free the stack storage used by the given cs.*/void ShowClusterSet(ClusterSet *cs);/*   Print the contents of given cluster set*//* ------------------------- Accumulators ---------------------- */typedef struct {     /* attached to transP */   Matrix tran;      /* array[1..N][1..N]of transition count */   Vector occ;       /* array[1..N] of state occupation */   int minDur;       /* Min no of frames to get through trans mat */} TrAcc;typedef struct {     /* attached to StreamElem */   Vector c;         /* array[1..M] of mixture weight */   float occ;        /* occ for states sharing this pdf */   LogFloat prob;    /* PreComputed stream Log Prob */   int   time;       /* time for which prob is valid */} WtAcc;typedef struct {     /* attached to mean vector */   Vector mu;        /* mean vector counts */   float occ;        /* occ for states sharing this mpdf */} MuAcc;typedef struct {     /* attached to covariance vector/matrix */   Covariance cov;   /* covariance counts */   float occ;        /* occ for states sharing this mpdf */} VaAcc;#define MIX_UPDATE_SHARINGtypedef struct {     /* attached to MixPDF */   LogFloat prob;    /* PreComputed Mixture Log Prob */   int   time;       /* time for which prob is valid */#ifdef MIX_UPDATE_SHARING   int indx;#endif} PreComp;void AttachAccsParallel(HMMSet *hset, MemHeap *x, int indx);void AttachAccs(HMMSet *hset, MemHeap *x);/*   Attach zeroed accumulators to given HMM set, also attaches PreComps   Equals AttachAccsParallel (hset,x,1).*/void ZeroAccsParallel(HMMSet *hset, int indx); /* if indx +ve, does 0.. indx-1; else does -indx. */void ZeroAccs(HMMSet *hset);/*   Zero all accumulators in given HMM set.*/void ShowAccsParallel(HMMSet *hset, int index);void ShowAccs(HMMSet *hset);/*   Show all accumulators attached to given HMM set*/void AttachPreComps(HMMSet *hset, MemHeap *x);/*   Attach reset PreComps to given HMM set*/void ResetPreComps(HMMSet *hset);/*   Reset all the precomputed prob fields in the   given HMM set.*/void ResetHMMPreComps(HLink hmm, int nStreams);/*   Reset all the precomputed prob fields in the   given HMM.*/FILE * DumpAccsParallel(HMMSet *hset, char *fname, int n, int index);FILE * DumpAccs(HMMSet *hset, char *fname, int n);/*    Dump a copy of the accumulators attached to hset   in file fname.  Any occurrence of the $ symbol in   fname is replaced by n. The file is left open    and returned to allow extra info to be written.*/ Source LoadAccsParallel(HMMSet *hset, char *fname, int index);Source LoadAccs(HMMSet *hset, char *fname);/*    Increment the accumulators attached to hset by adding   the values stored in fname.   Accs must be newly    created before first call. The file is left open    and returned to allow extra info to be read.*/void RestoreAccsParallel(HMMSet *hset, int index);void RestoreAccs(HMMSet *hset);/*    Restore accs by removing the mean offset.*/double ScaleAccsParallel(HMMSet *hset, float weight, int index);double ScaleAccs(HMMSet *hset, float weight);/*   Scales all the accumulators.  Returns summed occupancy.*/#ifdef __cplusplus}#endif#endif  /* _HTRAIN_H_ *//* ---------------------- End of HTrain.h ---------------------- */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本高清不卡视频| 国产精品国产自产拍在线| 精品视频999| 欧美亚洲日本国产| 色国产综合视频| 色偷偷一区二区三区| 色婷婷久久久亚洲一区二区三区| av不卡一区二区三区| av资源站一区| 色呦呦网站一区| 欧美亚洲日本国产| 欧美理论电影在线| 欧美一区国产二区| 日韩欧美不卡在线观看视频| 欧美成人一区二区三区片免费 | 亚洲精品在线电影| 久久综合久久综合久久综合| www激情久久| 欧美激情中文不卡| 亚洲美腿欧美偷拍| 一区二区在线观看免费视频播放| 一区二区三区高清不卡| 久久国产人妖系列| 国产98色在线|日韩| 99精品欧美一区二区三区小说| 一本色道亚洲精品aⅴ| 精品视频在线免费| 精品国产免费久久| 国产精品免费视频一区| 亚洲一区二区三区小说| 三级影片在线观看欧美日韩一区二区| 日韩一区精品视频| 国产精品一区在线| 日本精品免费观看高清观看| 欧美美女一区二区在线观看| 精品国产髙清在线看国产毛片 | 国产伦精一区二区三区| 粉嫩蜜臀av国产精品网站| 在线亚洲高清视频| 精品国产91乱码一区二区三区 | 色婷婷综合久色| 91精品视频网| 国产精品久久午夜夜伦鲁鲁| 亚洲成a人v欧美综合天堂| 国产精品伊人色| 欧美在线你懂的| 久久九九久精品国产免费直播| 亚洲视频 欧洲视频| 日韩成人dvd| 成人app下载| 欧美一区日本一区韩国一区| 国产精品黄色在线观看 | 亚洲国产精品激情在线观看| 亚洲欧美视频在线观看视频| 奇米亚洲午夜久久精品| 成人免费不卡视频| 成人a免费在线看| 亚洲欧洲性图库| 日本中文字幕不卡| 丁香五精品蜜臀久久久久99网站 | 欧美日韩小视频| 国产欧美日韩精品a在线观看| 亚洲国产精品人人做人人爽| 国产成人午夜电影网| 欧美精品v日韩精品v韩国精品v| 中文字幕不卡在线播放| 美女视频黄 久久| 欧美亚洲免费在线一区| 国产精品另类一区| 欧美a级理论片| 欧美性xxxxx极品少妇| 国产精品女同一区二区三区| 久久爱www久久做| 欧美伦理视频网站| 亚洲一区二区视频| 成人妖精视频yjsp地址| 精品国产自在久精品国产| 婷婷久久综合九色国产成人| 91美女视频网站| 国产精品三级在线观看| 狠狠色丁香婷婷综合| 欧美日韩高清一区二区不卡| 亚洲区小说区图片区qvod| 国产成人免费视频一区| 337p日本欧洲亚洲大胆精品| 日日夜夜免费精品| 欧美系列一区二区| 一区二区三区不卡视频在线观看| 99天天综合性| 国产精品亲子乱子伦xxxx裸| 国产精品一区不卡| 国产精品成人免费精品自在线观看| 韩国精品主播一区二区在线观看| 欧美久久久久中文字幕| 午夜视频在线观看一区| 日本高清不卡一区| 一区二区三区日韩欧美| 色综合久久久久综合体桃花网| 综合亚洲深深色噜噜狠狠网站| 成人免费毛片aaaaa**| 中文字幕欧美日本乱码一线二线| 国产精品911| 中文字幕欧美国产| 成人av电影在线播放| 最新不卡av在线| 91麻豆国产香蕉久久精品| 亚洲人成网站色在线观看| 99久久国产综合精品色伊| 国产精品私人自拍| 99视频有精品| 一区二区三区四区高清精品免费观看| 色噜噜狠狠一区二区三区果冻| 一区二区三区欧美日韩| 欧美做爰猛烈大尺度电影无法无天| 亚洲老妇xxxxxx| 欧美色综合网站| 日韩中文字幕亚洲一区二区va在线| 在线播放日韩导航| 六月丁香婷婷久久| 国产亚洲制服色| a美女胸又www黄视频久久| 亚洲欧美日韩在线不卡| 欧美日韩小视频| 毛片不卡一区二区| 国产欧美日韩麻豆91| 91色|porny| 香蕉乱码成人久久天堂爱免费| 日韩欧美一区二区免费| 高清久久久久久| 亚洲精品国产品国语在线app| 欧美丰满高潮xxxx喷水动漫| 91免费视频网| 丝袜国产日韩另类美女| 日韩免费视频一区| 成人精品视频网站| 夜夜夜精品看看| 精品福利在线导航| 91在线丨porny丨国产| 香蕉加勒比综合久久| 欧美成人三级在线| 成人精品视频网站| 日韩一区精品字幕| 欧美国产一区二区| 欧美日韩一区二区三区免费看| 久久精品国产一区二区| 亚洲欧洲成人精品av97| 欧美二区三区的天堂| 福利一区二区在线| 香蕉成人啪国产精品视频综合网 | 亚洲色大成网站www久久九九| 欧美午夜精品免费| 激情综合网激情| 一区二区三区不卡在线观看| 26uuu久久天堂性欧美| 在线观看日韩国产| 国产福利91精品一区二区三区| 亚洲综合色在线| 国产亚洲精品精华液| 欧美亚洲日本国产| 成人黄色一级视频| 麻豆精品一区二区综合av| 亚洲精品一二三区| 久久久精品国产免大香伊| 欧美性色黄大片手机版| 成人综合婷婷国产精品久久蜜臀| 手机精品视频在线观看| 国产精品国产三级国产aⅴ无密码| 91精品国产综合久久久蜜臀粉嫩| youjizz国产精品| 精品一区二区国语对白| 亚洲不卡一区二区三区| 亚洲图片欧美激情| 亚洲精品免费在线播放| 精品国产一区二区三区久久久蜜月 | 中文字幕欧美一| 日韩精品一区二区三区四区视频 | 欧美国产日韩亚洲一区| 欧美精品久久天天躁| 91小视频免费观看| 风间由美一区二区三区在线观看| 另类小说视频一区二区| 亚洲国产cao| 亚洲免费av高清| 国产精品久久久久久户外露出| 欧美成人a在线| 日韩欧美一级精品久久| 欧美丰满美乳xxx高潮www| 色久优优欧美色久优优| 99久久国产免费看| 成人一区在线看| 国产成人在线电影| 精品无码三级在线观看视频| 日本中文字幕一区| 日韩av不卡一区二区| 天堂va蜜桃一区二区三区漫画版| 一片黄亚洲嫩模| 亚洲三级在线看| 亚洲激情第一区| 亚洲女同一区二区| 亚洲色图视频免费播放|