飞扬围棋论坛

 找回密码
 注册
搜索
查看: 6973|回复: 2

leela-zero 源代码 的疑问

[复制链接]
发表于 2019-8-15 13:12 | 显示全部楼层 |阅读模式
1)  怎么理解 https://github.com/leela-zero/le ... twork.cpp#L253-L255  ?


// 1 format id, 1 input layer (4 x weights), 14 ending weights,
    // the rest are residuals, every residual has 8 x weight lines
    auto residual_blocks = linecount - (1 + 4 + 14);



2) 为何乘 4 ?

const auto plain_conv_wts = plain_conv_layers * 4;

https://github.com/leela-zero/le ... twork.cpp#L270-L271





回复

使用道具 举报

发表于 2019-8-15 14:21 | 显示全部楼层
这个问题,似乎能回答你的人很少
回复 支持 反对

使用道具 举报

发表于 2019-8-18 16:59 | 显示全部楼层
这个需要高手了吧
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|Archiver|手机版|飞扬围棋网 ( 苏ICP备11029047号-1 )

GMT+8, 2024-3-29 19:50 , Processed in 0.140380 second(s), 20 queries .

since 2003飞扬围棋论坛 Licensed

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表