Browse Source

fix(doc): fix warp_affine docstring

GitOrigin-RevId: dcec70c872
master
Megvii Engine Team 2 years ago
parent
commit
dfa999ee12
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      imperative/python/megengine/functional/vision.py

+ 1
- 1
imperative/python/megengine/functional/vision.py View File

@@ -360,7 +360,7 @@ def warp_affine(
mat: `(batch, 2, 3)` transformation matrix. mat: `(batch, 2, 3)` transformation matrix.
out_shape: output tensor shape. out_shape: output tensor shape.
border_mode: pixel extrapolation method. border_mode: pixel extrapolation method.
Default: "wrap". Currently "constant", "reflect",
Default: "replicate". Currently "constant", "reflect",
"reflect_101", "isolated", "wrap", "replicate", "transparent" are supported. "reflect_101", "isolated", "wrap", "replicate", "transparent" are supported.
border_val: value used in case of a constant border. Default: 0 border_val: value used in case of a constant border. Default: 0
format: NHWC" as default based on historical concerns, format: NHWC" as default based on historical concerns,


Loading…
Cancel
Save