040910 R 项目常用的CSS

TLVR紧耦合电压调节器原理与磁路设计解析 TLVR(紧耦合电压调节器)是一种融合磁路控制与开关电源的新型供电架构,其核心在于将电感从被动滤波元件升维为主动能量调度单元。它基于耦合电感T型等效模型,通过精确调控励磁电感Lm与漏感Lk的协同关系,在死区时间内实现跨相能量再分配,从而突破传统多相BUCK在负载瞬态响应(如dI/dt ≥ 50A/ns)下的带宽瓶颈。该技术显著降低输出纹波、抑制共模噪声,并提升高di/dt场景下的供电稳定性,广泛应用于AI芯片、CPU/GPU核心供电等对阶跃响应要求严苛的高性能计算领域。理解TLVR,本质是重新认识电感的磁路 阅读详情

/***** 下記の自定義なクラス *****/


/**************************************** 側メニューの様式 ****************************************/
/***** 背景色(茶褐色TAN) *****/
.sidemenu_back
{
 background-color: #ffffcc;
}

/***** カーソル(手の型) *****/
.sidemenu_cursor
{
 font-size: x-small;
 font-weight:bold;
 color:#000000;
 font-family: "MS UI Gothic";
 background-color: #ffffcc;
 cursor:hand;
 width:100%
}

/***** フォントサイズ (ハイパーリンク)*****/
.sidemenu_font
{
 font-size: x-small;
 font-family: "MS UI Gothic";
 height:18;
}

/***** 余白 *****/
.sidemenu_spacing
{
 margin-left: 16px;
}

/*****SideMenuのフォント 様式*****/
.sidemenu_tablefont
{
 font-weight: bold;
 font-size: x-small;
 font-family: "MS UI Gothic";
}
/**************************************** 側メニューの様式 ****************************************/


/**************************************** 画面のタイトル部の様式 ****************************************/
/***** 背景色(茶褐色TAN)文字(白色) *****/
.back_header
{
 font-weight: normal;
 font-size: x-small ;
 font-family: "MS UI Gothic";
 color: #000000;
 background-color: #ffffcc;
}

/***** エラーメッセージ 赤い *****/
.error_text
{
 color: red;
 font-size: x-small;
 font-weight: normal;
 font-family: "MS UI Gothic";
}

/***** 実行結果メッセージ 青い *****/
.result_text
{
 color: blue;
 font-weight: normal;
 font-size: x-small;
 font-family: "MS UI Gothic";
}

/**************************************** 画面のタイトル部の様式 ****************************************/


/**************************************** 画面部分の様式 ****************************************/
/***** 必須入力欄の背景色 ピンク *****/
.back_hissu
{
 background-color: MistyRose;
 font-size: x-small;
 font-family: "MS UI Gothic";
}

/***** 引用情報の背景色 水色 *****/
.back_inyou
{
 background-color: Azure;
 font-size: x-small;
 font-family: "MS UI Gothic";
}

/***** 計算値欄の背景色 黄色 *****/
.back_inyou2
{
 background-color: LightYellow;
 font-size: x-small;
 font-family: "MS UI Gothic";
 text-align:right;
}

/***** 画面のフォント 様式 *****/
.table_font
{
 font-size: x-small;
 font-family: "MS UI Gothic";
}

/***** 検索件数のフォント 赤色 *****/
.label_kensaku_style
{
 font-weight: bold;
 font-size: x-small;
 color: red;
 font-family: "MS UI Gothic";
}

/***** ラベルの背景色(Cornsilk)*****/
.label_style
{
 font-size: x-small;
 font-family: "MS UI Gothic";
 background-color: Cornsilk;
}

/***** ラベルの背景色 (white)*****/
.label_style2
{
 font-size: x-small;
 font-family: "MS UI Gothic";
 background-color: White;
}

/***** ラベルの背景色(Tan)*****/
.label_title_style
{
 font-family: "MS UI Gothic";
 background-color:Tan;
 font-size:small;
 font-weight:bold;
 padding-left:8px;
 padding-top:4px;
 padding-bottom:4px;
}

/***** ラベルの背景色(rgb(242,233,220))*****/
.label_error_style
{
 font-family: "MS UI Gothic";
 background-color:rgb(242,233,220);
 font-size:small;
 padding-left:15px;
}

/***** ボタンの様式  *****/
/***** 広さ100 高さ25 *****/
.button_style
{
 font-size: x-small;
 font-family: "MS UI Gothic";
 width: 100px;
 height: 25px;
}

/***** ボタンの様式  *****/
/***** 広さ不定 高さ20 *****/
.button_style1
{
 font-size: x-small;
 font-family: "MS UI Gothic";
 height: 20px;
}

/***** テキストボックス(プロジェクト番号)*****/
/***** 必須入力欄の背景色 *****/
.sysarrangeno_textbox
{
 font-size: x-small;
 font-family: "MS UI Gothic";
 width: 150px;
 background-color: #ffccff;
}

/***** テキストボックス(プロジェクト番号)*****/
/***** 任意入力欄の背景色 *****/
.sysarrangeno_textbox1
{
 font-size: x-small;
 font-family: "MS UI Gothic";
 width: 150px;
 background-color: White;
}

/***** テキストボックス(プロジェクト番号)*****/
/***** 引用情報欄の背景色 *****/
.sysarrangeno_textbox2
{
 font-size: x-small;
 font-family: "MS UI Gothic";
 width: 150px;
 background-color: #ccffff;
}

/***** テキストボックス(プロジェクト名称)*****/
/***** 引用情報欄の背景色 *****/
.sysarrangename_textbox
{
 font-size: x-small;
 font-family: "MS UI Gothic";
 width: 377px;
 background-color: Azure;
}

/***** テキストボックス(プロジェクト名称)*****/
/***** 任意入力欄の背景色 *****/
.sysarrangename_textbox1
{
 font-size: x-small;
 font-family: "MS UI Gothic";
 width: 377px;
 background-color: White;
}

/***** テキストボックス(プロジェクト名称)*****/
/***** 必須入力欄の背景色 *****/
.sysarrangename_textbox2
{
 font-size: x-small;
 width: 377px;
 font-family: "MS UI Gothic";
 background-color: mistyrose;
}

/***** テキストボックス(入力可項目)*****/
/***** 必須入力欄の背景色 *****/
.textbox_suuti
{
 font-size: x-small;
 font-family: "MS UI Gothic"; 
 text-align: right;
 background-color:MistyRose;
}
/**************************************** 画面部分の様式 ****************************************/


/**************************************** 画面中にDataGrid部分の様式 ****************************************/
/***** DataGrid 様式 *****/
/***** パディング *****/
.datagrid_padding
{
 padding-right: 3px;
 padding-left: 3px;
 padding-bottom: 0px;
 padding-top: 0px;
}

/***** DataList 様式 *****/
/***** 境界線 上線だけ *****/
.datalist_border
{
 border-top:solid 1px black;
}

/***** DataGrid 様式 *****/
/***** 境界線 すべて線 *****/
.datagrid_outsideborder
{
  border-top : solid 1px black;
  border-left: solid 1px black;
  border-right:solid 1px black;
  border-bottom:solid 1px black; 
}

/***** DataGrid 様式 *****/
/***** 境界線 下、右線だけ *****/
.datagrid_headerborder
{ 
 border-right:solid 1px black;
 border-bottom:solid 1px Tan; 
}

/***** DataGrid 様式 *****/
/***** 境界線 下線だけ *****/
.datagrid_bottomborder
{ 
 border-bottom:solid 1px black; 
}

/***** DataGrid 様式 *****/
/***** 境界線 右線だけ *****/
.datagrid_rightborder
{ 
 border-right:solid 1px black; 
 border-top-style:none; 
 border-bottom-style:none;
 border-left-style:none;
}

/***** DataGridのヘッド 様式 *****/
/***** 左詰め *****/
.datagrid_head
{
 font-weight: normal;
 font-size: x-small;
 color: white;
 font-family: "MS UI Gothic";
 height: 20px;
 background-color: tan;
 text-align: left;
}

/***** DataGridのヘッド 様式 *****/
/***** 中央揃え *****/
.datagrid_head1
{
 font-weight:normal;
 font-size: x-small;
 color: white;
 font-family: "MS UI Gothic";
 height: 20px;
 background-color: Tan;
 text-align: center;
}

/***** DataGridのアイテム 様式 *****/
/***** 奇数行 *****/
.datagrid_itemstyle
{
 font-size: x-small;
 font-family: "MS UI Gothic";
 height: 20px;
 background-color: FloralWhite;
}

/***** DataGridのアイテム 様式 *****/
/***** 偶数行 *****/
.datagrid_itemstyle2
{
 font-size: x-small;
 font-family: "MS UI Gothic";
 height: 20px;
 background-color: Cornsilk;
}

/***** DataGridのテキストボックス 様式 *****/
/***** 右詰め、背景色不要 *****/
.datagrid_textbox_nobg
{
 font-size: x-small;
 font-family: "MS UI Gothic"; 
 text-align: right;
}

/***** DataGridのテキストボックス 様式 *****/
/***** 左詰め、背景色不要 *****/
.datagrid_textbox_nobg1
{
 font-size: x-small;
 font-family: "MS UI Gothic"; 
 text-align: left;
}

/***** DataGridのテキストボックス 様式 *****/
/***** 偶数行、左詰め *****/
.datagrid_textbox
{
 font-size: x-small;
 font-family: "MS UI Gothic";
 text-align: left;
 background-color: Cornsilk;
}

/***** DataGridのテキストボックス 様式 *****/
/***** 奇数行、左詰め *****/
.datagrid_textbox1
{
 font-size: x-small;
 font-family: "MS UI Gothic";
 text-align: right;
 background-color: FloralWhite;
}

/***** DataGridのテキストボックス 様式 *****/
/***** 偶数行、右詰め *****/
.datagrid_textbox2
{
 font-size: x-small;
 font-family: "MS UI Gothic";
 text-align: right;
 background-color: Cornsilk;
}

/***** DataGridのテキストボックス 様式 *****/
/***** 奇数行、右詰め *****/
.datagrid_textbox3
{
 font-size: x-small;
 font-family: "MS UI Gothic";
 text-align: right;
 background-color: FloralWhite;
}

/***** DataGridのテキストボックス 様式 *****/
/***** 無枠、右詰め *****/
.datagrid_textbox4
{
 font-size: x-small;
 font-family: "MS UI Gothic";
 width: 100%;
 height: 100%;
 border-style: none;
 text-align: right;
}

/***** DataGridのテキストボックス 様式 *****/
/***** 無枠、左詰め *****/
.datagrid_textbox5
{
 font-size: x-small;
 font-family: "MS UI Gothic";
 width: 100%;
 height: 100%;
 border-style: none;
 text-align: left;
}

/***** DataGridのテキストボックス 様式 *****/
/***** 無枠、中央揃え *****/
.datagrid_textbox6
{
 font-size: x-small;
 font-family: "MS UI Gothic";
 width: 100%;
 height: 100%;
 border-style: none;
 text-align: center;
}

/***** DataGridのテキストボックス 様式 *****/
/***** 必須入力欄の背景色 ピンク 右詰 *****/
.textbox_back_hissu
{
 background-color: MistyRose;
 font-size: x-small;
 font-family: "MS UI Gothic";
 width: 100%;
 height: 100%;
 border-style: none;
 text-align: right;
}

/***** DataGridのテキストボックス 様式 *****/
/***** 必須入力欄の背景色 ピンク 右詰 *****/
.textbox_back_hissu1
{
 background-color: MistyRose;
 font-size: x-small;
 font-family: "MS UI Gothic";
 text-align: right;
}

/***** DataGridのテキストボックス 様式 *****/
/***** 必須入力欄の背景色 ピンク 左詰 *****/
.textbox_back_hissu_left
{
 background-color: MistyRose;
 font-size: x-small;
 font-family: "MS UI Gothic";
 width: 100%;
 height: 100%;
 border-style: none;
 text-align: left;
}

/***** DataGridのコンボボックス 様式 *****/
/***** 背景色 黄色 *****/
.datagrid_select
{
 font-size: x-small; 
 font-family: "MS UI Gothic";
 background-color:Yellow; 
}
/**************************************** 画面中にDataGrid部分の様式 ****************************************/


/**************************************** ログイン画面部分の様式 ****************************************/
/***** ログイン画面のコメント 様式 *****/
.login_comment
{
 font-weight: normal;
 font-size: small;
 color: brown;
 font-family: "MS UI Gothic";
}

/***** ログイン画面の文字 (Login&Password) 様式 *****/
.login_code
{
 font-weight: bold;
 font-size: small;
 color: brown;
 font-family: "MS UI Gothic";
}
/**************************************** ログイン画面部分の様式 ****************************************/


/***** 下記は要素 *****/
/***** ハイパーリンクの様式 リンクの文字色は青(Blue)とする。リンク中、リンク後でリンクの文字色は変更しません *****/
.sidemenu_hyperlink a:link
{
 color: #000000;
 text-decoration: underline;
}
.sidemenu_hyperlink a:visited
{
 color: #000000;
 text-decoration: underline;
}
.sidemenu_hyperlink a:active
{
 color: #000000;
 text-decoration: none;
}
.sidemenu_hyperlink a:hover
{
 color: #000000;
 text-decoration: underline;
}

a:link
{
 color: Blue;
 text-decoration: underline;
}
a:visited
{
 color: Blue;
 text-decoration: underline;
}
a:active
{
 color: Blue;
 text-decoration: none;
}
a:hover
{
 color: Blue;
 text-decoration: underline;
}

Nuclei漏洞扫描:从零到精通的Windows实战指南 本文详细介绍了Nuclei漏洞扫描工具在Windows平台上的安装与使用教程,从基础安装到高级实战技巧全面覆盖。通过具体案例展示如何利用Nuclei的模板库快速检测常见漏洞,并提供自定义POC开发指南,帮助安全从业者高效开展漏洞扫描工作。 阅读详情

相关推荐

Drupal远程代码执行漏洞(CVE-2018-7600)实战复现:从检测到写入WebShell的全过程

本文详细解析了Drupal远程代码执行漏洞(CVE-2018-7600)的实战复现过程,从环境搭建、漏洞检测到WebShell写入的全流程。该高危漏洞影响Drupal 6.x至8.x版本,允许攻击者未经授权执行任意代码。文章提供了多种POC构造方法和高级利用技巧,帮助安全研究人员深入理解漏洞原理并掌握验证技术。

weixin_29322553的博客 279

SQL语句 (A Left Outer join B On) Where A.Fld *= B.Fld

1insert into atest  values( 00009,GPF,26,100,100,120,)insert into atest2 select * from atest where id = 00002insert into atest2 ( id, age,name )select id, age,name from atest where id = 000092se

JAVAvNET的专栏 2693

Vue3+Vite+Electron桌面应用开发:从零到打包的完整避坑指南

本文是一份详尽的Vue3+Vite+Electron桌面应用开发实战指南。文章从项目初始化、环境配置、主进程构建、Vite深度优化,到最终的打包配置与优化,系统性地讲解了使用现代前端技术栈开发跨平台桌面应用的完整流程,并重点分享了开发与打包过程中的常见“坑点”与解决方案,旨在帮助开发者高效构建稳定可交付的桌面端应用。

hh234的博客 112

Win2000下如何让InputMan的Edit不显示回车换行/r/n

Win2000下,从Excel中copy一个Cell(应该包含/r/n)到InputMan中,结果回车换行符被显示成“黑点”了,怎样不让显示出来?(以上现象在XP 中没有出现)

JAVAvNET的专栏 1944

TC275-AutoSAR实战:Davinci Cfg多核OS配置与调试技巧

本文详细介绍了在TC275芯片上使用Davinci Cfg工具进行AutoSAR多核操作系统配置的实战步骤与调试技巧。内容涵盖从导入arxml文件的常见“坑”开始,到配置Det、EcuC、创建多核OS实例、关联OS应用、创建任务与设置优先级调度,最后分享了利用Det日志、调试器多核视图及处理核间通信与缓存一致性等关键调试方法,旨在帮助开发者高效完成复杂车载ECU软件集成。

weixin_29219189的博客 496

从SAS接口到InfiniBand:一张图看懂数据中心硬件‘黑话’(SFF-8643/8644、QSFP112、NDR/HDR/EDR)

本文深入解析数据中心硬件术语,从SAS接口标准(SFF-8643/8644)到速率标识(NDR/HDR/EDR),帮助工程师快速理解关键性能指标。特别对比了PCIe卡规格(HHHL/FHHL)和光模块选择(QSFP112/OSFP),并探讨InfiniBand在高性能网络中的优势,为硬件选型提供实用指南。

weixin_32103009的博客 440

.net 的SaveFileDialog为什么当掉?

SaveFileDialog.ShowDialog();执行到此就当掉了。为什么我把SaveFileDialog的初始目录设定一下(例如:C:/),就没有问题。随之而来,选择目录My Document时,也当掉了。为啥?

JAVAvNET的专栏 1860

手把手教你用树莓派蓝牙抓取小米温湿度计2代数据,接入HomeAssistant(附密钥获取避坑指南)

本文详细介绍了如何通过树莓派蓝牙抓取小米温湿度计2代数据并接入HomeAssistant的完整流程。重点解析了获取32位加密密钥的三种方法,包括使用Telink Flasher工具、米家APP抓包和开源工具ATC_MiThermometer,并提供了HomeAssistant集成配置和常见问题排查指南,帮助用户实现稳定可靠的温湿度监测。

一名菜鸟攻城师 789

About AscII ,Unicode ...

   Encoding encShiftJis = Encoding.GetEncoding("shift-jis");   intItemLen = encShiftJis.GetByteCount( strPara );using System.Text;  private void button1_Click(o

JAVAvNET的专栏 1754

为Ollama本地大模型添加持久化记忆层:openclaw-ollama-memory项目详解

在构建基于大型语言模型(LLM)的对话应用时,上下文管理是核心技术挑战之一。其原理在于模型本身不具备跨会话的持久化记忆能力,每次请求都是独立的。这导致在多轮对话中,模型无法有效利用历史信息,用户体验割裂。从技术价值看,独立的记忆层通过解耦推理与存储,能突破模型固定上下文窗口的限制,实现更智能、连贯的交互。其核心应用场景包括聊天机器人、智能助手及需要长期记忆的复杂代理。本文聚焦的 openclaw-ollama-memory 项目,正是为 Ollama 生态提供的记忆层解决方案,它通过向量检索和智能摘要等机制

weixin_42521558的博客 313

【软件使用】向日葵网络连接错误

一直报这个错误,尝试了修改版本无果,各种密码都正确,最后得出结轮是时间没有同步,查看代理是否更改了时间,做一下同步即可。

andeyeluguo的博客 8014

A 关于.net的参照设定 -不能拷贝 SADE0120.dll到实行目录

SABE0120.cs 的工程参照了 SADE0120.cs的dll。编译时出现1. “不能拷贝 SADE0120.dll到实行目录”2. “不能拷贝临时文件到输出目录”。为啥?工程目录的文件只读吧?

JAVAvNET的专栏 1468

YOLO模型从10MB瘦到2MB!剪枝+INT8量化双方案(精度损失<1%,附部署代码)

摘要:本文介绍了一种针对边缘设备的YOLO模型轻量化方案,通过"结构化剪枝+INT8量化"组合技术,将YOLOv8n模型从6.4MB压缩至2MB,体积减少68.75%,推理速度提升80%,同时保持精度损失小于1%。文章详细讲解了剪枝工具选择、通道剪枝实现、量化校准等关键步骤,并提供了完整的代码示例。特别强调了剪枝保留率、校准集使用、微调必要性等实践要点,帮助开发者在树莓派等资源受限设备上实现高效目标检测。

专注于Python爬虫开发,分享爬虫技巧、项目实战与反爬经验,使用Scrapy、BeautifulSoup等工具,解决数据抓取难题。 762

041006 A DB 乱码

    Q. string strSql = "INSERT INTO TBL_GYOMUTANGO ";    strSql += "(WORD) ";    strSql += "VALUES(" +strKey + ")";    -->strKey 是汉字时,程序显示为乱码。    A. 使用Parameters解决乱码    string strSql = "INSERT

JAVAvNET的专栏 1341

数学建模模型总结

这是本人在两年内准备参加数学建模竞赛搜集到的模型资料,已经经过了本人的筛选和整理,希望能够对准备参加数学建模竞赛的学弟学妹们提供一些帮助!

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

VBScript Config IIS

怪事,我的IIS安装完,iis管理器不能打开,但iis服务能正常使用,.net 建立的 asp工程也能正常运行。无奈,只能通过脚本config了。我的:Set Root = GetObject("IIS://localhost/w3svc/1/ROOT") My DocumentsコピーSet WshShell = WScript.CreateObject("WScript.

JAVAvNET的专栏 1281

老版QQ原生表情gif动态

这是老版的QQ表情,不过全是动态的的,Windows照片查看器是不会动的,可以右击用浏览器打开查看,再说一遍是老版的,只是分享给宁愿用老版也要动态的人。

041006 A WebService的构造函数

好像无参的构造函数是必须地。 1。public class Tool : System.Web.Services.WebService {  public Tool(){   InitializeComponent();  }  public Tool(string strUrl)  {      InitializeComponent();  }[WebMethod]  public

JAVAvNET的专栏 1225

怀旧版电脑GBC模拟器

再现原版GBC掌机的界面,电脑运行连游戏界面都一样大小,很怀旧,很真实,(英文版)强烈推荐,很小的文件,很难才找到的。

把 ITK-SNAP 搬上鸿蒙 PC:医学影像查看器的真移植路线(上游引擎交叉编译 + NAPI 桥 + 三个必踩的坑)

ITK-SNAP 是宾夕法尼亚大学开发的经典医学影像查看与分割软件,基于 ITK/VTK,Apache-2.0 许可。路线做法代价Qt 全量移植交叉编译整套 Qt + 上游 Qt UI,用 QPA glue + XComponent 承载需要完整的 Qt 运行时(数百 MB),UI 风格是桌面的,交互(触摸/滚动条/菜单)不符合鸿蒙 PC 习惯真移植(本文)上游Logic/Common 原码交叉编译成引擎 so,ArkTS 重写 UI要吃透上游数据流,自己接文件、渲染、交互。

山河已无恙 7782

鸿蒙PC 打印扫描控制台性能优化实战:把六类无效重组压回 16.7 ms 帧预算 —— 兼谈 ArkUI 与跨平台框架在 2in1 桌面上的性能分工

打印与扫描这类「后台设备管理」界面,看起来最不像性能敏感型应用:没有视频、没有动画长列表、没有高频手势,只有几块状态卡和一批任务行。但把它放到鸿蒙PC 的 2in1 桌面形态上,成本结构就变了——窗口可以被用户随手拖成任意宽度,鼠标指针会在整排按钮上高速划过,应用一旦打开就常驻数小时,用户还会在「设备港 / 任务队列 / 扫描台 / 耗材维护」四个视图之间反复切换。

shrgegrb的博客 230

老旧电视盒子流畅播视频:自建下载转码播放流水线实战

家里一台海尔 YunOS 电视盒子,配置放到今天相当寒酸:Android 5.1(API 22)、双核、1GB 内存、百兆网口。目标是让它流畅播放本地高清视频文件。这篇文章记录整个过程和踩过的坑。

brepnet uvnet 269

LLM之Agent(126)|作者自研Coding Agent:Krelcode Agent Harness 技术全景

例如 Context 与 Memory 事件通常只包含 ID、scope、token、hash 和计数,不携带 Prompt 正文或 Memory 文本,避免观测面变成新的泄密面。支持 install/enable/disable/update/remove 的基础生命周期:解析 manifest、校验、复制/安装到受控目录、加载组件、写入状态、更新 Registry、失败隔离。每轮开始时只刷新允许变化的部分,例如 MCP alive 集合,其他权限、工具禁用和运行模式保持稳定,减少竞态。

wshzd的博客 270

Qt_09Item Widget与Item View

Qt 的ItemWidget 和ItemView

u012660296的博客 141

lottie-turbo 源码解读(一):lottie_bridge 与 Animator——声明式配置到 native 渲染的桥接

用 lottie-turbo 播一个 Lottie 动画,你只需要:💡 LottieView 声明式配置示例(非库源码原文)LottieView只是个声明式组件,它自己并不会画图——那动画的每一帧是谁、在什么线程、用什么 API 画到屏幕上的?答案在持有和负责 XComponent 节点与布局渲染,Animator负责动画状态机与帧驱动。:拆解声明式配置到 native 渲染的完整链路——怎么桥接前后台、怎么创建 XComponent 节点并处理布局与渲染、Animator怎么用状态机驱动帧播放、

OH_TPC的博客 67

HarmonyOS 7 高阶工程实践(第1讲):基于 CanIUse 的旧设备兼容降级策略

在鸿蒙生态井喷式发展的今天,一个极其现实的问题摆在所有开发者面前:你满心欢喜地用 HarmonyOS 7(API 14及以上)的新特性写了一套极其炫酷的 UI 和业务逻辑,提交测试后,测试拿着一台还在跑 API 9 的老设备(或者是某种老旧的物联网终端)过来,点开应用直接黑屏闪退。如果在某些老旧的折叠屏形态上,不支持自由多窗架构的高效渲染,你的自适应布局就需要从三栏强行回退到传统的两栏或者单栏模式,同时通过 Toast 给用户一个温和的提示。的字符串是不能拍脑袋写的,必须严格对照官方文档的。

2602_97267507的博客 191

React Native 0.84 鸿蒙空间光感实战:封装 uiMaterial 与 UIDesignKit 打造沉浸光感容器

react-native-immersive-material 为 React Native 鸿蒙应用桥接 API 26 系统材质、点光源与设备材质等级查询,实现播控卡片与悬浮菜单的沉浸式光效。配套项目 rnoh-spatial-audio-studio 在真机(SMOOTH)与模拟器(EXQUISITE)上验证策略切换、触控穿透与性能表现,30 轮配置更新平均耗时 501.6–887.6 μs,证实桥接链路稳定可用。开源库与实战项目均托管于 oh-react-native,支持社区协作与问题反馈。

白天写代码,晚上追AI大模型,偶尔搞点八卦 开源动态|技术干货|实习机会|生态活动 我负责分享,你负责变强 2万+

自动化脚本自定义界面(ui)之图片控件

图片控件在自动化脚本的界面里,常常被当成一个“放张图上去”的简单角色,但实际用下来,真正影响体验的往往不是“有没有图”,而是图片在控件里被怎么摆、怎么裁、怎么换。冰狐的ui_image(图片控件)属于视图(view)的子控件,职责很明确:显示图片。它的复杂度不在属性数量,而在两个属性的组合效果——src和scaleType。把这两件事理清楚,再掌握setSrc的动态切换方式,图片控件基本就不会出什么大问题。src。

ai_coder_ai的博客 276

端侧 AI 部署:Whisper 离线仍连 2 个域名

Transformers.js + Whisper 转写页部署上线要过几关?本文用体积账与 Node 真跑给出端侧 AI 审计清单:96.82% 是 ONNX、清单 17/17 全齐、离线仍连 2 个域名,附 8 组实测与避坑方法。

Dai_sir_man的博客 195
上一篇: 040908 R Oracle & SqlServer 's ORDER -->select top & where rownum <= 3
下一篇: Eclipse与插件(tomcatPlugin Lomboz easyStruts)安装
JJNNN007
博客等级 码龄24年 2粉丝 37原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值