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

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

?? gauss_example_32f.txt

?? Intel開發(fā)的IPP庫的應(yīng)用實例
?? TXT
字號:
//
//                        INTEL CORPORATION PROPRIETARY INFORMATION
//        This software is supplied under the terms of the license agreement
//        or nondisclosure agreement with Intel Corporation and may not be copied
//        or disclosed except in accordance with the terms of that agreement.
//            Copyright (c) 1999-2006 Intel Corporation. All Rights Reserved.
//
//


        Simple program to illustrate vector Gaussian mixture
        calculation and feature vectors processing
        Float means, variances, features and probabilities


        gauss_main.cpp file

The main program contains several calls of Fake_Decoder_Test function with different
arguments. Probabilities and features calculated while running the test could be
logged (last two arguments).


        Fake_Decoder class

Imitates time-synchronous tree decoder requests for state likelihoods (log
probabilities). Each state corresponds to a Gaussian mixtue. Active states and the
length of state activity interval are chosen randomly. Required active states number
is defined for each frame. State activity interval length is uniformly distributed in
[1,max_live]. Probability of the active state is requested for the current frame once
per frame only. The real decoder could request the same probability several times per
frame and could request probabilities for some following frames if acoustic look-ahead
is used.

Fake_Decoder(int state_number, int max_live)
                                     - constructor
~Fake_Decoder(void)                  - destructor
int Init_Decoder(void)               - internal structures initialization
                                       >= 0 if OK, otherwise failed
bool Attach_Cache(Prob_Cache *cache) - attach ready-to-use probability cache
                                       cache state number should not be less
                                       than decoder state number
                                       true if OK, otherwise failed
int Init_LogFile(char *prob_log)     - opens log file for probabilities
                                       each probability used by decoder
                                       is written to this file as float value
                                       file is closed in
                                       this feature is useful to compare
                                       different modes of probability calculation
                                       >= 0 if OK, otherwise failed

After successful constructor, Init_Decoder and Attach_Cache calls decoder is ready

bool Ready(void)                     - true if decoder is ready, false otherwise
bool Decode_Frame(int act_num)       - process frame with act_num active states
                                       real number of active states could differ
                                       from requested (eg if it was more for
                                       previous frame and no activity intervals
                                       is finished)
                                       true if the frame is not last one
void Close_Decoder(void)             - stop decoder and fix statistics
void Get_Statistics(Len_Stat *stat)  - extract statistics data: all requests,
                                       repeated requests (0 now), number of
                                       state activity intervals of length [1,256]

int Get_Probability(int state, float *prob) -
                                       request for state probability for current
                                       frame passed to cache and statistics collected
                                       if probability is accessible 0 is returned and
                                       it is written to prob[0]
                                       if probability is not accessible 1 is returned

int Use_Probability(int state, float *prob) -
                                       use of calculated probability (imitation of
                                       calculated probability use in decoder)
                                       0 is returned

int Activity_Interval(int max_len)   - random length of state activity interval




        Prob_Cache class

Simplified SDT probability cache class. Supplies probabilities for the current frame.
If the value is not in cache up to vec_length values are requested from probability
calculator. Cache has size state_number*vec_length and crawls forward one element per
frame. After frame_num frames it is moved to the beginning.

Prob_Cache(int state_number, int vec_length, int frame_num)
                                     - constructor
~Prob_Cache(void)                    - destructor
int Init_Cache(void)                 - internal structures initialization
                                       >= 0 if OK, otherwise failed
bool Attach_Calc(Prob_Calc *calc)    - attach ready-to-use probability calculator
                                       cache state number should not be less
                                       than calculator state number
                                       true if OK, otherwise failed

After successful constructor, Init_Cache and Attach_Calc calls cache is ready

bool Ready(void)                     - true if cache is ready, false otherwise
bool Step_Forward(void)              - step to the next frame, values for the
                                       previous frame are lost
                                       true if the next frame exists
void Detach_Calc(void)               - detach probability calculator
                                       after successful Attach_Calc cache could
                                       work with other calculator
void Get_Statistics(Len_Stat *stat)  - extract statistics data: unused values,
                                       calculated vectors of length [1,vec_length]

float Get_Probability(int state)     - request for state probability for current frame
int State_Number(void)               - get state number in cache (state_number)




        Prob_Calc class

Calculates the vector of Gaussian mixture probabilities. The model consists of
state_number states. Each state corresponds to Gaussian mixture with max_gauss or
less components. Weight, determinant, mean and var values are situated in separate
vectors in the same order. Mean and var vectors are aligned to 16 byte boundary.
Mixture parameters are read from the parameter file or fake calculator is created
(max_gauss components in all mixtures, zero means, identity vars, equal weights,
space_dim dets).

Prob_Calc (Calc_Hint hint)           - constructor
                                       hint - method of calculations
                                       calcVect - vector (LogGauss+LogAdd)
                                       calcVecM - vector (LogGauss+Max)
                                       calcMix  - mixture (LogGaussMixture)
                                       calcNone - access to data only
~Prob_Calc(void)                     - destructor
int Init_Calc(int state_number, int max_gauss, int space_dim, int max_len, int min_len)
int Init_Calc(char* file, int max_len, int min_len)
                                     - internal structures initialization for fake
                                       and file based probability calculator
                                       Mixture parameter file structure is
                                       described in feat_calc.cpp file
                                       Buffer for max_len features is reserved
                                       Vectors of lengt [min_len,max_len] are
                                       calculated (shorter at the utterance end)
                                       >= 0 if OK, otherwise failed
bool Attach_Feat(Feat_Calc *feat)    - attach ready-to-use feature producer
                                       feature vector length should be the same as
                                       for calculator
                                       true if OK, otherwise failed
int Init_LogFile(char *feat_log)     - opens log file for features
                                       feature vectors really used by probability
                                       calculator are written as HTK feature file
                                       file is closed in desctuctor or while
                                       feature producer detachment
                                       >= 0 if OK, otherwise failed

After successful constructor, Init_Calc and Attach_Feat calls cache is ready

bool Ready(void)                     - true if calculator is ready, false otherwise
bool Step_Forward(void)              - step to the next frame
                                       true if the next frame exists
void Detach_Feat(void)               - detach feature producer
                                       after successful Attach_Feat calculator could
                                       work with other producer

int Obv_Prob_Vec(int state, float *result, int len)
                                     - calculate len probabilities from current
                                       frame that are placed to result
                                       less than len values could be calculated if
                                       there are less than len features in the buffer
                                       ot at the end of utterance
                                       features are requested from feature producer
                                       if less than min_len features are in buffer
                                       calculator requests and takes into account
                                       number of partially calculated features due
                                       to delta calculation
                                       number of calculated probabilities is returned
                                       or -1 for wrong arguments
int State_Number(void)               - get state number in calculator (state_number)
int Max_Gauss(void)                  - get maximal Gaussians in mixture (max_gauss)
int Feature_Length(void)             - get feature vector length in calculator
float *Mean(int state)               - get pointer to first element of first mean of state
float *Var(int state)                - get pointer to first element of first var of state
float *Det(int state)                - get pointer to first det of state
float *Weight(int state)             - get pointer to first weight of state




        Feat_Calc class

Calculates feature vectors for probability calculator. Fake producer provides zero
feature vectors. File producer takes data from HTK feature file with float data.
Two modes of feature processing are supported: raw features without energy (as for
the first decoder pass) and CMS&VN'ed features with energy (as for the second pass).
Delta or double delta are calculated if necessary.

Feat_Calc (int space_dim, int max_delay) - constructor
                                       Each feature vector of length space_dim is
                                       appended to the length (space_dim+3)&(~3)
                                       for 16 byte alignment
                                       max_delay is used to imitate low delay
                                       feature producer - features are calculated by
                                       portions of length no more than max_delay.
                                       If deltas are calculated delta_delay =
                                       delta_window*(delta_number+1) is added.
                                       delta_delay is 0 for fake feature producer
                                       If max_delay<=0 features for all utterance
                                       could be calculated at once
                                       Feature producer has no internal buffer and
                                       calculates features in consumer's buffer
~Init_Feat(void)                     - destructor
int Init_Feat(int frame_number)      - internal structures initialization for fake
int Init_Feat(char *file)              and SDT based feature producers
                                       Fake feature producer provides an utterance
                                       of frame_number frames, each frame is zero
                                       vector of length space_dim
                                       HTK file based feature producer reads raw feature
                                       vectors of length raw_dim from HTK feature file
                                       Feature vector elements assumed to be floats.
                                       space_dim should be equal to raw_dim, raw_dim*2,
                                       raw_dim*3, (raw_dim-1), (raw_dim-1)*2 or
                                       (raw_dim-1)*3. If necessary last element of
                                       raw feature is deleted and deltas or double
                                       deltas with delta_window=2 are calculated.
                                       >= 0 if OK, otherwise failed

After successful constructor and Init_Feat calls producer is ready

bool Ready(void)                     - true if producer is ready, false otherwise
int  Get_Feature(float *dst, int len, bool* end)
                                     - puts calculated featurs to consumers buffer dst
                                       len features is requested, the number of
                                       fully calculated features is returned
                                       if utterance is not ended  they are followed by
                                       delta_delay partially calculated feature vectors
                                       The first partially calculated feature vector is
                                       passed as dst for the next feature portion
                                       if the calculated portion ends the utterance
                                       end[0] is true otherwise false
int Feature_Length(void)             - get output feature vector length
int Delta_Delay(void)                - get delta_delay of feature producer
                                       Probability calculator requests this number to
                                       provide correct interaction with probability
int Write_LogHeader(FILE *flog)      - writes HTK feature file header to log file
                                       feature vector length includes deltas or
                                       double deltas if any
                                       calculator

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品无圣光一区二区| 在线播放/欧美激情| 亚洲一区欧美一区| 韩国av一区二区| 成人黄色软件下载| 欧洲在线/亚洲| 亚洲视频在线观看三级| 久久精品国产亚洲一区二区三区| 国产成人日日夜夜| 亚洲精品一区二区三区蜜桃下载| 一区二区三区电影在线播| 国产乱色国产精品免费视频| 99久久国产综合精品麻豆| wwwwxxxxx欧美| 久久精品国产成人一区二区三区| 欧美性猛交xxxxxx富婆| 国产精品不卡视频| 91丝袜美腿高跟国产极品老师 | 国产精品国产精品国产专区不片| 韩国成人精品a∨在线观看| 欧美成人女星排名| 国产不卡在线播放| 日韩区在线观看| 久草这里只有精品视频| 精品国产一区a| av成人免费在线| 一区二区三区在线观看网站| 一本色道a无线码一区v| 亚洲精品日韩专区silk| 欧美亚日韩国产aⅴ精品中极品| 亚洲香肠在线观看| 欧美一区二区久久| av欧美精品.com| 亚洲日本一区二区三区| 91黄色免费版| 亚洲va欧美va天堂v国产综合| 日韩一级片在线播放| 国产成人激情av| 日韩av一级电影| 国产精品成人一区二区艾草 | 99久久精品国产网站| 性做久久久久久免费观看| 久久精品亚洲国产奇米99| 成人精品高清在线| 美日韩一区二区| 亚洲少妇屁股交4| 精品少妇一区二区三区免费观看| 欧美不卡在线视频| 91老师片黄在线观看| 91国偷自产一区二区使用方法| 亚洲一区二区在线免费看| 国产亚洲精品aa| 日韩一区二区三区在线| 欧美日韩二区三区| 99国产精品久久久久久久久久| 黑人巨大精品欧美一区| 亚洲狠狠爱一区二区三区| 国产精品初高中害羞小美女文| 欧美色图天堂网| 91丨国产丨九色丨pron| av一区二区三区黑人| 成人激情图片网| 成人高清免费观看| 高清av一区二区| 国产成人精品亚洲日本在线桃色| 美女网站在线免费欧美精品| 亚洲一区二区三区三| 午夜私人影院久久久久| 亚洲成av人影院| 亚洲一区二区三区四区五区黄| 亚洲人成在线播放网站岛国| 最新欧美精品一区二区三区| 国产视频一区在线播放| 国产精品污污网站在线观看 | 亚洲一区二区中文在线| 亚洲亚洲精品在线观看| 日本中文字幕不卡| 国产a精品视频| 成人在线综合网| 欧美制服丝袜第一页| 91精品国产综合久久久蜜臀图片| 欧美日产国产精品| 欧美日韩一区二区在线观看| 一本一本大道香蕉久在线精品| 欧美四级电影在线观看| 日韩精品综合一本久道在线视频| 久久久不卡影院| 一卡二卡欧美日韩| 国产一区二区三区久久久| 一本一本久久a久久精品综合麻豆| 成人免费看的视频| 欧美日韩在线不卡| 中文一区二区在线观看| 亚洲va欧美va国产va天堂影院| 日韩电影在线看| 欧美人妖巨大在线| 亚洲一区二区三区在线看| 国产精品一区二区久久精品爱涩| 777久久久精品| 蜜桃视频一区二区三区| 欧美一区二区国产| 青青国产91久久久久久| 欧美日韩成人一区二区| 亚洲第一福利视频在线| 日本精品一区二区三区四区的功能| 国产精品乱码人人做人人爱| 狠狠色狠狠色综合| 国产欧美日韩一区二区三区在线观看| 亚洲va天堂va国产va久| 欧美精品色一区二区三区| 亚洲成人激情社区| 日韩一区国产二区欧美三区| 五月天亚洲精品| 日韩免费一区二区| 国产另类ts人妖一区二区| 国产精品剧情在线亚洲| 欧美主播一区二区三区| 日产国产欧美视频一区精品| 久久九九久精品国产免费直播| 成人福利视频在线| 亚洲国产人成综合网站| 91精品国产欧美一区二区18| 免费人成精品欧美精品 | 欧美性感一类影片在线播放| 五月综合激情日本mⅴ| 久久久久久亚洲综合影院红桃| 国产91清纯白嫩初高中在线观看| 亚洲欧美另类久久久精品| 欧美一激情一区二区三区| 99久久久久久99| 免费高清视频精品| 亚洲国产裸拍裸体视频在线观看乱了 | 日韩欧美国产成人一区二区| 欧美区视频在线观看| 欧美色综合久久| 欧美一区二区三区在线观看视频| 国产精品你懂的| 91精品国产高清一区二区三区 | caoporn国产精品| 久久99精品一区二区三区| 亚洲成人手机在线| 亚洲精品高清视频在线观看| 久久综合色综合88| 日韩欧美在线1卡| 日韩视频一区二区三区在线播放| 一本一本久久a久久精品综合麻豆| 国产原创一区二区| 精品一区免费av| 精品一区二区三区的国产在线播放| 夜夜嗨av一区二区三区| 玉米视频成人免费看| 亚洲日本中文字幕区| 亚洲精品一二三| 中文字幕亚洲成人| 日韩毛片高清在线播放| 国产精品进线69影院| 中文字幕一区二区三区不卡| 中文字幕免费观看一区| 中文字幕一区三区| 一二三四区精品视频| 婷婷久久综合九色综合伊人色| 午夜av电影一区| 国产一区二三区| 国产精品69久久久久水密桃| 99久久久无码国产精品| 欧美午夜在线一二页| 欧美一级黄色录像| 国产精品你懂的| 亚洲国产日韩a在线播放性色| 首页国产丝袜综合| 国产美女精品一区二区三区| 风间由美性色一区二区三区| 91麻豆国产在线观看| 91精品国产综合久久婷婷香蕉| 久久午夜色播影院免费高清| 亚洲欧洲精品一区二区三区| 亚洲在线视频一区| 国产999精品久久久久久绿帽| 黑人巨大精品欧美黑白配亚洲| 国内偷窥港台综合视频在线播放| 99视频在线精品| 欧美精品一区二区三| 亚洲午夜久久久久中文字幕久| 激情成人综合网| 9191成人精品久久| 亚洲精品五月天| 99精品久久只有精品| 久久精品亚洲精品国产欧美 | 图片区小说区国产精品视频| 国产成人综合在线播放| 日韩一区二区在线播放| 一区二区三区在线免费播放| 成人av在线播放网址| 久久天堂av综合合色蜜桃网 | 国产精品三级视频| 国产精品一二三四五| 26uuu欧美日本| 久久99国内精品| 久久久影院官网| 国产精品18久久久久|