-
C语言实现的神经网络剪枝法
“神经网络剪枝算法”是一种通过简化神经网络结构来避免网络过拟合的有效方法之一。将权值拟熵作为惩罚项加入目标函数中,使多层前向神经网络在学习过程中自动约束权值分布,并以权值敏感度作为简化标准,避免了单纯依赖权值大小剪枝的随机性。由于在剪枝过程中只剪去数值小并且敏感度低的连接权,所以网络简化后不需要重新训练。算法效率明显提高。
- 2023-08-08 16:50:04下载
- 积分:1
-
简易的汇编电子琴程序,在通用的PC下运行,没有什么外观可言,通过键盘字母实现按键发声...
简易的汇编电子琴程序,在通用的PC下运行,没有什么外观可言,通过键盘字母实现按键发声-Simple compilation of flower procedures, the common PC running under no appearance at all, through the keyboard keys letters realize voice
- 2023-05-30 22:00:03下载
- 积分:1
-
编写一个函数,输入为偶数时,调用函数求,当输入为奇数时,调用函数1(利用指针函数)...
编写一个函数,输入为偶数时,调用函数求,当输入为奇数时,调用函数1(利用指针函数)-The preparation of a function, even when the input, call function for, when the input is odd, one function call (using indicator functions)
- 2022-11-27 05:15:02下载
- 积分:1
-
Infrared Remote Control Electronic locks procedures, through the infrared remote
红外遥控电子密码锁程序,通过红外遥控我们的电子密码锁-Infrared Remote Control Electronic locks procedures, through the infrared remote-control our electronic code lock
- 2022-08-23 16:03:26下载
- 积分:1
-
Using assembly language to achieve that can play songs that procedure, in 51 sin...
用汇编语言实现的可以播放歌曲的是程序,在51单片机上配合蜂鸣器可以播放梁祝的歌曲。-Using assembly language to achieve that can play songs that procedure, in 51 single-chip buzzer can play with the song Butterfly Lovers.
- 2022-02-04 13:09:06下载
- 积分:1
-
8951系列延时子程序——汇编语言
我自己用的汇编语言子程序,分享给大家。有不愿意自己琢磨的朋友可以拿来就用。
我会陆续上传我的应用。
希望能对朋友们有所帮助。
- 2022-07-03 23:01:06下载
- 积分:1
-
#include <iostream>
#include <stack>
#define MAX_SIZE...
非递归的快速排序算法-#include
#include
#define MAX_SIZE 11
using namespace std
typedef int elem
typedef std::stack Stack
int partition(elem*pData, int low, int high)
void swap(elem& a, elem& b)
void qsort(elem* pData, int low, int high)
int partition(elem*pData, int low, int high)
{
elem key = pData[low]
while(low < high)
{
while(low < high && pData[high] >= key)
high--
swap(pData[low], pData[high])
while(low < high && pData[low]
- 2022-05-08 16:41:43下载
- 积分:1
-
单片机AD转换。PIC单片机单片机AD转换。PIC单片机
单片机AD转换。PIC单片机单片机AD转换。PIC单片机-CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCc
- 2022-04-23 18:44:34下载
- 积分:1
-
16550串口com口文件收发与计时
从输入文件如in.txt读取数据,经com1端口发送(自发自收),收到的内容存入输出文件如out.txt。
在按键后启动发送,并开始计时,发送完毕后,结束计时,并显示发送所花时间。
- 2023-08-27 22:20:03下载
- 积分:1
-
,片选接到p1.5
复位端 p1.4
中断端接到 int0
82c250工作在斜率模式下 ,RS 接51k电阻到地。
2,SJA10...
,片选接到p1.5
复位端 p1.4
中断端接到 int0
82c250工作在斜率模式下 ,RS 接51k电阻到地。
2,SJA1000与82C250的接口,逻辑上为SJA1000输出0(显性位),表现为低点平输出给82C250,则82C250输出
差分的低电平。SJA1000输出1(隐性位),表现为高电平或悬空输出给82C250,则82C250输出悬空状态。
3,周立功的中SJA_BCANCONF.ASM中对输出控制寄存器 的TX0的输出 极性的位的定义不对。
还有里面定义有接收错误标志码,不知道何时用。-, The election received a P1.5-chip client p1.4 interrupt reset int0 82c250 client received in the slope mode, RS then 51k resistor to ground. 2, SJA1000 with the 82C250 interface, logic for SJA1000 Output 0 (dominant bit), showing low level output to the 82C250, while the low-level differential output 82C250. SJA1000 Output 1 (recessive), and the performance of the output is high or left vacant to the 82C250, the vacant state 82C250 output. 3, Zhou Ligong in the SJA_BCANCONF.ASM of output control register TX0 output polarity bit the definition of wrong. Inside the definition also has to receive error flag code, I do not know when to use.
- 2022-06-28 07:07:40下载
- 积分:1