1# model
2model = Model()
3i1 = Input("op1",  "TENSOR_QUANT8_ASYMM", "{1, 2, 2, 1}, 1.f, 0")
4i2 = Output("op2", "TENSOR_FLOAT32", "{1, 2, 2, 1}")
5model = model.Operation("DEQUANTIZE", i1).To(i2)
6
7# Example 1. Input in operand 0,
8input0 = {i1: # input 0
9          [0, 32, 128, 255]}
10
11output0 = {i2: # output 0
12           [0.0, 32.0, 128.0, 255.0]}
13
14# Instantiate an example
15Example((input0, output0))
16