From ec38ccfc697d712937963e396215de9e3c8b7fb3 Mon Sep 17 00:00:00 2001 From: shiyu22 <shiyu.chen@zilliz.com> Date: Mon, 13 Dec 2021 19:31:16 +0800 Subject: [PATCH] Update README Signed-off-by: shiyu22 <shiyu.chen@zilliz.com> --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3b31b26..b323bb6 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,9 @@ In computer vision (CV) directions, image transformations are usually an indispe ## Interface -`__init__(self, size: int)` +```python +__init__(self, size: int) +``` **Args:** @@ -18,7 +20,9 @@ In computer vision (CV) directions, image transformations are usually an indispe - the size of the output image - supported types: `int` -`__call__(self, img: Union[np.ndarray, Image.Image, torch.Tensor, str])` +```python +__call__(self, img: Union[np.ndarray, Image.Image, torch.Tensor, str]) +``` **Args:**