221 Star 941 Fork 692

GVPMindSpore/mindscience

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

mindflow.geometry.Cone

.. py:class:: mindflow.geometry.Cone(name, centre, radius, h_min, h_max, h_axis, boundary_type='uniform', dtype=numpy.float32, sampling_config=None)

    圆锥体对象的定义。

    参数:
        - **name** (str) - 圆锥体的名称。
        - **centre** (numpy.ndarray) - 底部的原点。
        - **radius** (float) - 底部的半径。
        - **h_min** (float) - 底部的高度坐标。
        - **h_max** (float) - 圆锥体的最大高度坐标。
        - **h_axis** (int) - 底部法向向量的轴。
        - **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
master

搜索帮助