获得徽章 0
- 探索搭建 HarmonyOS ArkTS 应用开发赞过评论2
- 受 Flutter logger 日志库启发,开发 ArkTS 版 HarmonyOS 日志库,大家觉得还有什么功能需要补充和扩展
评论点赞 - 学习 tensorflow.js, 下面代码输出 为什么是,请大佬指点下
Tensor
[[
[[2], [1], [2], [1]],
[[1], [2], [1], [2]],
[[1], [1], [1], [1]],
[[1], [1], [1], [1]]
]]
// -------------- 代码如下 -----------
// 输入图像 (4x4)
const input = tf.tensor4d([[
[[1], [1], [1], [0]],
[[0], [1], [1], [1]],
[[0], [0], [1], [1]],
[[0], [0], [1], [1]]
]]);
// 滤波器 (3x3)
const kernel = tf.tensor4d([[
[[1]], [[0]], [[1]],
[[0]], [[1]], [[0]],
[[1]], [[0]], [[1]]
]]);
// 卷积操作
const output = tf.conv2d(input, kernel, 1, 'same');
output.print();展开评论点赞 - 分享开源一款 Vue3 + AntDesignVue + Vite 后台管理系统模版等人赞过19
- 长文讲解 如何开发 Draggable GridView 组件,感兴趣的掘友们请查看~赞过评论1
![[思考]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_15.f58c082.png)