Skip to content

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

1.2 KB
Raw Blame
ir_version: 7
producer_name: "OpenVINO ONNX Frontend"
graph {
  node {
    output: "scales"
    op_type: "Constant"
    attribute {
      name: "value"
      t {
        dims: 4
        data_type: 1
        float_data: 1.0
        float_data: 1.0
        float_data: 2.0
        float_data: 2.0
        name: "const_tensor"
      }
      type: TENSOR
    }
  }
  node {
    input: "X"
    input: "scales"
    output: "Y"
    op_type: "Upsample"
    attribute {
      name: "mode"
      s: "linear"
      type: STRING
    }
  }
  name: "test-model"
  input {
    name: "X"
    type {
      tensor_type {
        elem_type: 1
        shape {
          dim {
            dim_value: 1
          }
          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: 1
          }
          dim {
            dim_value: 1
          }
          dim {
            dim_value: 4
          }
          dim {
            dim_value: 4
          }
        }
      }
    }
  }
}
opset_import {
  domain: ""
  version: 9
}