220 Star 931 Fork 686

GVPMindSpore/mindscience

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
sponge.function.pbc_image.rst 647 Bytes
一键复制 编辑 原始数据 按行查看 历史
Li Qingguo 提交于 2年前 . fix docs

sponge.function.pbc_image

.. py:function:: sponge.function.pbc_image(position: Tensor, pbc_box: Tensor, offset: float = 0)

    计算PBC box的周期图。

    参数:
        - **position** (Tensor) - 位置坐标,数据类型为float,shape为 :math:`(B, ..., D)` ,B是Batch size,D是模拟系统的维度,一般为3。
        - **pbc_box** (Tensor) - PBC box,数据类型为float,shape为 :math:`(B, D)` 。
        - **offset** (float) - 偏移率。默认值: ``0.0`` 。

    返回:
        Tensor。周期图,shape为 :math:`(B, ..., D)` ,数据类型为int32。
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mindspore/mindscience.git
git@gitee.com:mindspore/mindscience.git
mindspore
mindscience
mindscience
r0.5

搜索帮助