mirror of
https://github.com/open-mmlab/mmdeploy.git
synced 2025-01-14 08:09:43 +08:00
* add ncnn ops docs samples * link ops to ncnn.md * fix ncnn.md grammar * fix grammar typo
818 B
818 B
ncnn Ops
Shape
Description
Get the shape of the ncnn blobs.
Parameters
Shape has no parameters.
Inputs
- inputs[0]: ncnn.Mat
- bottom_blob; An ncnn.Mat. If ncnn version >= 1.0.20201208, the dimension of the bottom_blob should be no more than 4, or the dimension of the bottom_blob should be no more than 3.
Outputs
- outputs[0]: T
- top_blob; 1-D tensor of shape (bottom_blob.dims,), `bottom_blob.dims` is the input blob dimensions.
Type Constraints
- ncnn.Mat: Mat(float32)