xor

command
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2023 License: MIT Imports: 16 Imported by: 0

README

xor

该示例使用一个简单的MLP模型来学习如何进行异或运算,以及如何保存和加载模型,模型训练参数如下:

const lr = 1e-4
const hiddenSize = 10
const epoch = 10000

训练后的loss曲线如下:

loss

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL