208 Star 856 Fork 630

GVPMindSpore / mindscience

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

mindelec.geometry.Rectangle

.. py:class:: mindelec.geometry.Rectangle(name, coord_min, coord_max, dtype=np.float32, sampling_config=None)

    矩形对象的定义。

    参数:
        - **name** (str) - 矩形的名称。
        - **coord_min** (Union[tuple[int, int], tuple[float, float], list[int, int], list[float, float], numpy.ndarray]) - 矩形的左底部的坐标。
        - **coord_max** (Union[tuple[int, int], tuple[float, float], list[int, int], list[float, float], numpy.ndarray]) - 矩形的右顶部的坐标。
        - **dtype** (numpy.dtype) - 采样点数据类型的数据类型。默认值: ``numpy.float32``。
        - **sampling_config** (SamplingConfig) - 采样配置。默认值: ``None``。
1
https://gitee.com/mindspore/mindscience.git
git@gitee.com:mindspore/mindscience.git
mindspore
mindscience
mindscience
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891