220 Star 945 Fork 694

GVPMindSpore/mindscience

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
sponge.function.GetShiftGrad.rst 850 Bytes
一键复制 编辑 原始数据 按行查看 历史
Li Qingguo 提交于 2023-10-11 10:29 +08:00 . fix doc

sponge.function.GetShiftGrad

.. py:class:: sponge.function.GetShiftGrad(num_atoms: int, bonds: Tensor, num_walkers: int = 1, dimension: int = 3, use_pbc: bool = None)

    计算维度为 :math:`(K, N, D)` 的B矩阵的微分,N是原子的邻居原子数,D是模拟系统的维度。

    参数:
        - **num_atoms** (int) - 系统中原子总数。
        - **bonds** (Tensor) - 需要被约束的键,shape为 :math:`(C, 2)` ,数据类型是int。
        - **num_walkers** (int) - 多线程的数量。默认值: ``1`` 。
        - **dimension** (int) - 维度数量。默认值: ``3`` 。
        - **use_pbc** (bool) - 是否使用周期性边界条件。如果是 ``None`` ,则根据是否提供pbc_box决定是否在周期性边界中计算距离。默认值: ``None`` 。
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mindspore/mindscience.git
git@gitee.com:mindspore/mindscience.git
mindspore
mindscience
mindscience
r0.5

搜索帮助