quant_conv_lin.prototxt 2.9 KB
Newer Older
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
ir_version: 3
producer_name: "backend-test"
graph {
  node {
    input: "x"
    input: "x_scale"
    input: "x_zero_point"
    input: "w"
    input: "w_scale"
    input: "w_zero_point"
    input: "y_scale"
    input: "y_zero_point"
    output: "y"
    op_type: "QLinearConv"
    attribute {
      name: "pads"
      ints: 1
      ints: 1
      ints: 1
      ints: 1
      type: INTS
    }
  }
  name: "test_conv_with_strides_padding"
  initializer {
    data_type: 2
    name: "x_zero_point"
    raw_data: "\000"
  }
  initializer {
    data_type: 1
    float_data: 1
    name: "x_scale"
  }
  initializer {
nishant.b.patel's avatar
nishant.b.patel committed
36
    data_type: 3
37 38 39 40 41 42 43 44 45
    name: "w_zero_point"
    raw_data: "\000"
  }
  initializer {
    data_type: 1
    float_data: 1
    name: "w_scale"
  }
  initializer {
nishant.b.patel's avatar
nishant.b.patel committed
46
    data_type: 3
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
    name: "y_zero_point"
    raw_data: "\000"
  }
  initializer {
    data_type: 1
    float_data: 16
    name: "y_scale"
  }
  initializer {
    dims: 1
    dims: 1
    dims: 3
    dims: 3
    data_type: 3
    int32_data: 1
    int32_data: 0
    int32_data: 2
    int32_data: 1
    int32_data: 0
    int32_data: 2
    int32_data: 1
    int32_data: 0
    int32_data: 2
    name: "w"
  }
  input {
    name: "x"
    type {
      tensor_type {
        elem_type: 2
        shape {
          dim {
            dim_value: 1
          }
          dim {
            dim_value: 1
          }
          dim {
            dim_value: 9
          }
          dim {
            dim_value: 9
          }
        }
      }
    }
  }
  input {
    name: "x_scale"
    type {
      tensor_type {
        elem_type: 1
        shape {
        }
      }
    }
  }
  input {
    name: "x_zero_point"
    type {
      tensor_type {
        elem_type: 2
        shape {
        }
      }
    }
  }
  input {
    name: "w"
    type {
      tensor_type {
nishant.b.patel's avatar
nishant.b.patel committed
118
        elem_type: 2
119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149
        shape {
          dim {
            dim_value: 1
          }
          dim {
            dim_value: 1
          }
          dim {
            dim_value: 3
          }
          dim {
            dim_value: 3
          }
        }
      }
    }
  }
  input {
    name: "w_scale"
    type {
      tensor_type {
        elem_type: 1
        shape {
        }
      }
    }
  }
  input {
    name: "w_zero_point"
    type {
      tensor_type {
nishant.b.patel's avatar
nishant.b.patel committed
150
        elem_type: 3
151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169
        shape {
        }
      }
    }
  }
  input {
    name: "y_scale"
    type {
      tensor_type {
        elem_type: 1
        shape {
        }
      }
    }
  }
  input {
    name: "y_zero_point"
    type {
      tensor_type {
nishant.b.patel's avatar
nishant.b.patel committed
170
        elem_type: 3
171 172 173 174 175 176 177 178 179
        shape {
        }
      }
    }
  }
  output {
    name: "y"
    type {
      tensor_type {
nishant.b.patel's avatar
nishant.b.patel committed
180
        elem_type: 3
181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201
        shape {
          dim {
            dim_value: 1
          }
          dim {
            dim_value: 1
          }
          dim {
            dim_value: 9
          }
          dim {
            dim_value: 9
          }
        }
      }
    }
  }
}
opset_import {
  version: 8
}