mindspore/docs/api/api_python/ops/mindspore.ops.AdaptiveMaxPo...

17 lines
1.0 KiB
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.ops.AdaptiveMaxPool3D
===============================
.. py:class:: mindspore.ops.AdaptiveMaxPool3D
对一个多平面输入信号执行三维自适应最大值池化。
更多参考详见 :func:`mindspore.ops.adaptive_max_pool3d`
输入:
- **x** (Tensor) - shape为 :math:`(C, D, H, W)`:math:`(N, C, D, H, W)` 的Tensor支持的数据类型包括int8、int16、int32、int64、uint8、uint16、uint32、uint64、float16、float32、float64。
- **output_size** (Union[int, tuple]) - 指定输出的size。可以用一个整数统一表示输出的深度、高度和宽度或者用一个整数三元组来分别表示输出的深度、高度和宽度。指定的值必须是正整数。如果是None则表示对应维度输出和输入size相同。
输出:
- **y** (Tensor) - Tensor与输入 `input` 的数据类型和维度相同。
- **argmax** (Tensor) - Tensor最大值对应的索引数据类型为int32并与 `y` 的shape相同。