220 Star 945 Fork 693

GVPMindSpore/mindscience

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
sciai.common.lbfgs_train.rst 457 Bytes
一键复制 编辑 原始数据 按行查看 历史
MaZhiming 提交于 2023-09-10 18:18 +08:00 . [SciAI] init sciai docs

sciai.common.lbfgs_train

.. py:function:: sciai.common.lbfgs_train(loss_net, input_data, lbfgs_iter)

    L-BFGS训练函数,目前只能在PYNATIVE模式下运行。

    参数:
        - **loss_net** (Cell) - 返回loss作为目标函数的网络。
        - **input_data** (Union[Tensor, tuple[Tensor]]) - loss_net的输入数据。
        - **lbfgs_iter** (int) - l-bfgs训练过程的迭代次数。
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mindspore/mindscience.git
git@gitee.com:mindspore/mindscience.git
mindspore
mindscience
mindscience
master

搜索帮助