221 Star 947 Fork 696

GVPMindSpore/mindscience

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
mindflow.geometry.Tetrahedron.rst 843 Bytes
一键复制 编辑 原始数据 按行查看 历史
luojianing 提交于 2023-04-14 17:28 +08:00 . add ` for values in docs

mindflow.geometry.Tetrahedron

.. py:class:: mindflow.geometry.Tetrahedron(name, vertices, boundary_type='uniform', dtype=numpy.float32, sampling_config=None)

    四面体对象的定义。

    参数:
        - **name** (str) - 四面体的名称。
        - **vertices** (numpy.ndarray) - 四面体的顶点。
        - **boundary_type** (str) - 值可以是 ``'uniform'`` 或 ``'unweighted'``。默认值: ``'uniform'``。

          - ``'uniform'``,每个边界中的预期样本数与边界的面积(长度)成比例的。
          - ``'unweighted'``,每个边界中的预期样本数相同。

        - **dtype** (numpy.dtype) - 采样点数据类型的数据类型。默认值: ``np.float32``。
        - **sampling_config** (SamplingConfig) - 采样配置。默认值: ``None``。
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mindspore/mindscience.git
git@gitee.com:mindspore/mindscience.git
mindspore
mindscience
mindscience
r0.7

搜索帮助