# i8

# Notes:
# * DIV doesn't make much sense for i8

--reset

--alg=ADD,MUL,MAX,MIN
--inplace=true,false

## post_ops
--ddt=s8 --sdt=s8:s8
--attr-scales=
--attr-post-ops='', \
                'sum:0.5', \
                'linear:2:0.125', \
                'sum:0.25;relu:-0.01:0:20', \
                'add:f32:per_oc;linear:2:1', \
                'mul:s8;add:f32:common;sum:0.5;abs'
--batch=option_set_all

## scales
--ddt=u8 --sdt=u8:u8
--attr-scales=, \
              src:common:16_src1:common:2, \
              src:common:8, \
              src1:common:4
--attr-post-ops=
--batch=option_set_all

## post_ops + scales
--ddt=s8 --sdt=s8:u8
--attr-scales=,src:common:16_src1:common:2
--attr-post-ops='','sum:0.5;abs'
--batch=option_set_all

# check for proper saturation
--attr-scales=src:common:4.29497e+09_src1:common:4.29497e+09
--batch=option_set_all
