feat(examples): 更新simple_model_example.go以使用gomatrix包 - 导入gomatrix包替代部分gotensor功能 - 修改权重张量梯度初始化使用gomatrix.NewZeros - 更新must函数为泛型实现 - 重构损失函数实现使用gomatrix操作 - 优化输出格式化避免重复数据访问 refactor(model_test): 更新测试用例使用gomatrix构造函数 - 修改TestSequential测试使用gomatrix.NewMatrix和gomatrix.NewVector - 更新TestSaveLoadModel测试使用gomatrix构造函数 - 修改TestLinearLayer测试使用NewTensor构造权重矩阵 refactor(trainer_test): 将Must函数改为泛型实现 - 更新Must函数为泛型版本支持任意类型 ``` |
||
|---|---|---|
| .. | ||
| advanced_optimizer | ||
| autograd | ||
| basic_operation | ||
| cnn_example | ||
| linear_regression | ||
| simple_model_example.go | ||