mindspore/docs/api/api_python/mint/mindspore.mint.nn.Upsample.rst

12 lines
470 B
ReStructuredText
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

mindspore.mint.nn.Upsample
==========================
.. py:class:: mindspore.mint.nn.Upsample(size=None, scale_factor=None, mode="nearest", align_corners=None, recompute_scale_factor=None)
按照给定的 `size``scale_factor` 根据 `mode` 设置的插值方式,对输入 `input` 进行插值。
.. warning::
这是一个实验性API后续可能修改或删除。
更多参考详见 :func:`mindspore.mint.nn.functional.interpolate`