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

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

?? fann_extensions.h

?? 改進的人工神經(jīng)網(wǎng)絡源代碼
?? H
?? 第 1 頁 / 共 2 頁
字號:
#ifndef FANN_EXTENSIONS_H_INCLUDED
#define FANN_EXTENSIONS_H_INCLUDED

/**
 *
 *  @file   fann_extensions.h
 *
 *  @brief  Fast Artificial Neural Network (fann) C Extensions
 *  Copyright (C) 2004 created by freegoldbar (at) yahoo dot com
 *
 *  This wrapper is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Lesser General Public
 *  License as published by the Free Software Foundation; either
 *  version 2.1 of the License, or (at your option) any later version.
 *
 *  This library is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 *  See the GNU Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with this library; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 */

/**
 *  @mainpage  Fann C Extensions
 *
 *  @section alert  Important information
 *
 *  The Fann C Extensions are subject to change at any time and only work
 *  with Fann version 1.2.0. The extensions will change as similar
 *  functionality becomes available in the Fann Library. The changes may very
 *  well require code changes.
 *
 *  @section overview  Overview
 *  Fann C Extensions gives access to neural network layout, connections,
 *  weights, and save functions that return -1 when an error occurs. The
 *  save_ex functions are only available when USE_SAVE_EX is defined. The
 *  save_ex functions are not compatible with having the Fann Library in a DLL. *
 *  Fann C Extensions are Fann Library version 1.2.0 implementation specific.
 *
 *  @section download  Download
 *
 *  The Fann C Extensions header and documentation is included in the Fann C++ Wrapper.
 *
 *  Download it here (88Kb): http://www.geocities.com/freegoldbar/fann_cpp.zip
 *
 *  @section usage  Usage
 *  See the Examples section for a small example. The Fann for Mathematica
 *  extension uses the Fann C Extensions.
 *  Sourcecode is available at http://www.geocities.com/freegoldbar/index.html
 *
 */

/** Definition of network types */
enum fann_network_types
{
    /** Each layer only has connections to the next layer */
    FANN_LAYER = 0,
    /** Each layer has connections to all following layers */
    FANN_SHORTCUT
};

/*****************************************************************************/

/** Get the type of network as defined in fann_network_types */
unsigned int fann_get_network_type(struct fann *ann);
/** Get the connection rate used when the network was created */
float fann_get_connection_rate(struct fann *ann);

/*****************************************************************************/

/** Describes a connection between two neurons and its weight */
struct fann_connection{    /** Unique number used to identify source neuron */    unsigned int from_neuron;    /** Unique number used to identify destination neuron */    unsigned int to_neuron;    /** The numerical value of the weight */    fann_type weight;};/*****************************************************************************/
/** Get the number of layers in the network */unsigned int fann_get_num_layers(struct fann *ann);/** Get the number of neurons in each layer in the network.    Bias is not included so the layers match the fann_create functions    The layers array must be preallocated to at least    sizeof(unsigned int) * fann_num_layers() long. */void fann_get_layer_array(struct fann *ann, unsigned int *layers);/** Get the number of bias in each layer in the network.    The bias array must be preallocated to at least    sizeof(unsigned int) * fann_num_layers() long. */void fann_get_bias_array(struct fann *ann, unsigned int *bias);/** Get the connections in the network.    The connections array must be preallocated to at least    sizeof(struct fann_connection) * fann_get_total_connections() long. */void fann_get_connection_array(struct fann *ann, struct fann_connection *connections);
/** Set connections in the network.    Only the weights can be changed, connections and weights are ignored    if they do not already exist in the network.    The array must have sizeof(struct fann_connection) * num_connections size. */void fann_set_weight_array(struct fann *ann,    struct fann_connection *connections, unsigned int num_connections);
/** Set a connection in the network.    Only the weights can be changed. The connection/weight is    ignored if it does not already exist in the network. */void fann_set_weight(struct fann *ann,    unsigned int from_neuron, unsigned int to_neuron, fann_type weight);
/*****************************************************************************/
/* FIX: Save_..._ex functions return -1 when an error occurs. */#ifdef USE_SAVE_EX/** Save the network, return -1 when an error occurs. */FANN_EXTERNAL int FANN_API fann_save_ex(struct fann *ann, const char *configuration_file);/** Save training data to a file, return -1 when an error occurs */FANN_EXTERNAL int FANN_API fann_save_train_ex(struct fann_train_data* data, char *filename);/** Save training data to a file in fixed point algebra, return -1 when an error occurs.    (Good for testing a network in fixed point) */FANN_EXTERNAL int FANN_API fann_save_train_to_fixed_ex(struct fann_train_data* data, char *filename, unsigned int decimal_point);/** INTERNAL FUNCTION    Save the train data structure, return -1 when an error occurs. */int fann_save_train_internal_ex(struct fann_train_data* data, char *filename, unsigned int save_as_fixed, unsigned int decimal_point);#endif /* USE_SAVE_EX */
/*****************************************************************************/
/* Split here to place the rest in a .c file */
/*****************************************************************************/

/** Get the type of network as defined in fann_network_types */
unsigned int fann_get_network_type(struct fann *ann)
{
    /* Currently two types: LAYER = 0, SHORTCUT = 1 */
    /* Enum network_types must be set to match the return values  */
    return ann->shortcut_connections;}

/** Get the connection rate used when the network was created */
float fann_get_connection_rate(struct fann *ann)
{
    return ann->connection_rate;}/*****************************************************************************/
/** Get the number of layers in the network */unsigned int fann_get_num_layers(struct fann *ann){    return ann->last_layer - ann->first_layer;}/** Get the number of neurons in each layer in the network.    Bias is not included so the layers match the fann_create functions    The layers array must be preallocated to at least    sizeof(unsigned int) * fann_num_layers() long. */void fann_get_layer_array(struct fann *ann, unsigned int *layers){    struct fann_layer *layer_it;    for (layer_it = ann->first_layer; layer_it != ann->last_layer; layer_it++) {        unsigned int count = layer_it->last_neuron - layer_it->first_neuron;        /* Remove the bias from the count of neurons. */        switch (fann_get_network_type(ann)) {
            case FANN_LAYER: {
                --count;                break;
            }
            case FANN_SHORTCUT: {
                --count;
                break;
            }
            default: {
                /* Unknown network type, assume no bias present  */
                break;
            }
        }
        *layers++ = count;
    }}/** Get the number of bias in each layer in the network.    The bias array must be preallocated to at least    sizeof(unsigned int) * fann_num_layers() long. */void fann_get_bias_array(struct fann *ann, unsigned int *bias){    struct fann_layer *layer_it;    for (layer_it = ann->first_layer; layer_it != ann->last_layer; ++layer_it, ++bias) {        switch (fann_get_network_type(ann)) {
            case FANN_LAYER: {
                /* Report one bias in each layer except the last */                if (layer_it != ann->last_layer-1)                    *bias = 1;                else                    *bias = 0;                break;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
美日韩一级片在线观看| 日韩亚洲欧美高清| 欧美国产精品劲爆| 国产不卡在线一区| 国产精品三级av在线播放| 99久久国产综合精品麻豆| 一区二区中文视频| 欧美在线三级电影| 老司机精品视频一区二区三区| 日韩欧美国产系列| 成人av在线资源网站| 亚洲另类春色国产| 欧美日韩极品在线观看一区| 老司机精品视频一区二区三区| 久久久三级国产网站| 成人av电影在线观看| 亚洲精品中文字幕乱码三区| 欧美三级电影在线观看| 久久99国内精品| 中文字幕av不卡| 欧美日韩久久一区二区| 国产一区二区三区电影在线观看| 国产精品久久久久久久久免费桃花| 色一情一伦一子一伦一区| 久久蜜桃av一区二区天堂| 精品国产91乱码一区二区三区 | 国产亚洲婷婷免费| av欧美精品.com| 图片区日韩欧美亚洲| 久久久99久久精品欧美| 日本高清无吗v一区| 青青青爽久久午夜综合久久午夜| 久久先锋影音av| 色婷婷av一区二区| 韩国成人精品a∨在线观看| 亚洲免费观看高清完整版在线观看熊 | 欧美剧情片在线观看| 国产一区福利在线| 亚洲超碰精品一区二区| 国产欧美一区二区精品性| 欧美手机在线视频| 精品成人一区二区三区四区| 婷婷久久综合九色国产成人| 久久嫩草精品久久久精品一| 在线视频一区二区免费| 国产一区二区免费看| 亚洲图片自拍偷拍| 亚洲欧美一区二区在线观看| 日韩亚洲欧美成人一区| 色婷婷av一区二区| eeuss影院一区二区三区| 精品一区二区av| 亚洲午夜久久久久中文字幕久| 欧美国产日韩a欧美在线观看 | 日韩中文字幕1| 一区二区在线观看视频在线观看| 久久久高清一区二区三区| 欧美精品123区| 91国偷自产一区二区开放时间| 国产精品一区专区| 另类欧美日韩国产在线| 亚洲成av人片一区二区梦乃| 亚洲免费观看在线观看| 国产精品福利在线播放| 久久久高清一区二区三区| 精品国产91久久久久久久妲己| 69堂精品视频| 欧美日韩一区二区电影| 欧美体内she精视频| 在线亚洲一区二区| 色综合天天综合在线视频| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 精品伦理精品一区| 一区二区不卡在线播放 | 久久久国产精品麻豆| 日韩欧美在线不卡| 欧美日韩国产高清一区二区三区 | 欧美日韩国产高清一区二区| 91在线免费播放| 成人一级黄色片| 成人一级黄色片| 不卡的电视剧免费网站有什么| 成人午夜视频网站| 成人v精品蜜桃久久一区| 不卡av在线免费观看| av在线免费不卡| 一本色道久久加勒比精品| 日本韩国一区二区三区视频| 亚洲一区二区中文在线| 日韩午夜电影在线观看| 日韩欧美国产综合一区| 亚洲精品一区二区三区在线观看| 欧美变态凌虐bdsm| 久久婷婷国产综合国色天香| 中文字幕免费在线观看视频一区| 欧美国产一区在线| 亚洲婷婷国产精品电影人久久| 亚洲精品免费在线观看| 日日摸夜夜添夜夜添精品视频| 美国欧美日韩国产在线播放| 国产福利精品一区| 91视频国产观看| 欧美日韩一区二区三区在线| 欧美一区二区三区四区在线观看| 26uuu国产在线精品一区二区| 国产日产欧美一区二区三区 | 成人国产精品免费观看动漫| 色菇凉天天综合网| 制服丝袜av成人在线看| 久久中文字幕电影| 国产精品超碰97尤物18| 亚洲成人动漫在线观看| 久久91精品国产91久久小草| 成人性生交大片免费看视频在线| 色天使色偷偷av一区二区| 在线播放日韩导航| 国产精品乱码一区二三区小蝌蚪| 亚洲小少妇裸体bbw| 国产永久精品大片wwwapp| 一本一道波多野结衣一区二区| 欧美疯狂性受xxxxx喷水图片| 久久久综合网站| 亚洲综合一区在线| 国产成人在线网站| 欧美精选一区二区| 亚洲欧洲一区二区在线播放| 免费在线观看视频一区| 91原创在线视频| 精品国产亚洲在线| 亚洲第一主播视频| aaa亚洲精品| 久久一二三国产| 亚洲成人av电影在线| 成人午夜激情片| 欧美xxxxxxxx| 亚洲一区二区在线播放相泽| 国产精品一区二区久激情瑜伽| 欧美午夜一区二区三区免费大片| 久久精品人人爽人人爽| 日韩成人精品在线| 日本高清成人免费播放| 国产精品天干天干在线综合| 裸体健美xxxx欧美裸体表演| 日本韩国一区二区| 国产欧美1区2区3区| 日本成人在线不卡视频| 欧美吻胸吃奶大尺度电影| 国产精品白丝在线| 国产麻豆欧美日韩一区| 日韩精品中文字幕一区二区三区| 亚洲自拍偷拍九九九| 91麻豆免费视频| 欧美日韩久久不卡| 亚洲欧美另类图片小说| 国产91精品免费| 精品美女在线播放| 久久国产三级精品| 日韩一卡二卡三卡四卡| 首页亚洲欧美制服丝腿| 在线观看91视频| 亚洲最新视频在线播放| 91影视在线播放| 亚洲天天做日日做天天谢日日欢| 粉嫩绯色av一区二区在线观看| 精品国产乱码久久久久久老虎| 蜜桃免费网站一区二区三区| 欧美一区二区视频在线观看2022| 日韩精品亚洲一区| 欧美一区二区三区免费大片| 日韩**一区毛片| 日韩午夜av电影| 久久精品久久久精品美女| 欧美精品一区二区在线播放 | ...av二区三区久久精品| 不卡av在线网| 亚洲欧美日韩国产综合| 欧美亚洲国产一区二区三区va| 艳妇臀荡乳欲伦亚洲一区| 欧美视频日韩视频在线观看| 精品福利在线导航| 国产人伦精品一区二区| 国产精品资源站在线| 日本一区二区三区电影| aa级大片欧美| 亚洲电影一区二区三区| 91精品国模一区二区三区| 精彩视频一区二区| 国产午夜精品一区二区三区嫩草 | 国产精品久久久久影视| 91网址在线看| 性欧美大战久久久久久久久| 欧美一级在线视频| 国内精品自线一区二区三区视频| 久久久国产精品不卡| 色婷婷国产精品| 日本一不卡视频| 中文字幕二三区不卡| 日本道免费精品一区二区三区| 日韩国产在线观看一区| 欧美xxxx老人做受|