gotensor/examples
kingecg 16c2277474 ```
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函数为泛型版本支持任意类型
```
2026-01-01 15:14:10 +08:00
..
advanced_optimizer ``` 2025-12-31 17:52:34 +08:00
autograd ``` 2025-12-30 23:03:54 +08:00
basic_operation ``` 2025-12-30 23:03:54 +08:00
cnn_example ``` 2025-12-31 14:46:16 +08:00
linear_regression ``` 2025-12-30 23:03:54 +08:00
simple_model_example.go ``` 2026-01-01 15:14:10 +08:00