Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

2.1 KB
Raw Blame
ir_version: 7
producer_name: "OpenVINO ONNX Frontend"
graph {
  initializer {
    dims: 0
    data_type: 1
    name: "scales"
    raw_data: ""
  }
  node {
    output: "sizes"
    op_type: "Constant"
    attribute {
      name: "value"
      t {
        dims: 4
        data_type: 7
        int64_data: 2
        int64_data: 1
        int64_data: 4
        int64_data: 8
        name: "const_tensor"
      }
      type: TENSOR
    }
  }
  node {
    output: "roi"
    op_type: "Constant"
    attribute {
      name: "value"
      t {
        dims: 8
        data_type: 1
        float_data: 1.0
        float_data: 1.0
        float_data: 1.0
        float_data: 1.0
        float_data: 1.0
        float_data: 1.0
        float_data: 1.0
        float_data: 1.0
        name: "const_tensor"
      }
      type: TENSOR
    }
  }
  node {
    input: "X"
    input: "roi"
    input: "scales"
    input: "sizes"
    output: "Y"
    op_type: "Resize"
    attribute {
      name: "coordinate_transformation_mode"
      s: "asymmetric"
      type: STRING
    }
    attribute {
      name: "cubic_coeff_a"
      f: -0.75
      type: FLOAT
    }
    attribute {
      name: "exclude_outside"
      i: 0
      type: INT
    }
    attribute {
      name: "extrapolation_value"
      f: 0
      type: FLOAT
    }
    attribute {
      name: "mode"
      s: "linear"
      type: STRING
    }
  }
  name: "test-model"
  input {
    name: "X"
    type {
      tensor_type {
        elem_type: 1
        shape {
          dim {
            dim_value: 2
          }
          dim {
            dim_value: 1
          }
          dim {
            dim_value: 2
          }
          dim {
            dim_value: 2
          }
        }
      }
    }
  }
  output {
    name: "Y"
    type {
      tensor_type {
        elem_type: 1
        shape {
          dim {
            dim_value: 2
          }
          dim {
            dim_value: 1
          }
          dim {
            dim_value: 4
          }
          dim {
            dim_value: 8
          }
        }
      }
    }
  }
}
opset_import {
  domain: ""
  version: 11
}