File size: 454 Bytes
948d40c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: "ocr_td_preprocess"
backend: "python"

input [
    { 
        name: "image_bytes"
        data_type: TYPE_STRING
        dims:  [1]
    }
]

output [
    { 
        name: "resized_image"
        data_type: TYPE_UINT8
        dims:  [1, 3, -1, -1]
    },
    { 
        name: "resize_ratio"
        data_type: TYPE_FP32
        dims:  [1]
    },
    { 
        name: "original_image"
        data_type: TYPE_UINT8
        dims:  [-1, -1, 3]
    }
]