logo
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Readme
Files and versions

13 lines
323 B

name: 'transform-image'
labels:
recommended_framework: #the recommend framework, such as 'pytorch1.2.0'
class: image-transform
others:
operator: 'towhee/transform-image-operator-template'
init:
size: int
call:
input:
img_path: Union[Image.Image, torch.Tensor, str]
output:
img_transformed: torch.Tensor