File size: 519 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 30 31 32 33 34 35 36 | name: "od_preprocess"
backend: "python"
input [
{
name: "image_bytes"
data_type: TYPE_STRING
dims: [1]
}
]
output [
{
name : "resized_image"
data_type : TYPE_FP32
dims : [1, 3, -1, -1]
},
{
name : "original_shape"
data_type : TYPE_UINT16
dims : [2]
},
{
name : "resized_shape"
data_type : TYPE_UINT16
dims : [2]
}
]
instance_group [
{
count: 2
kind: KIND_CPU
}
]
|