Skip to content

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

1.2 KB
Raw Blame
ir_version: 3
producer_name: "OpenVINO ONNX Frontend"
graph {
  node {
    input: "indices"
    input: "depth"
    input: "values"
    output: "y"
    op_type: "OneHot"
    attribute {
      name: "axis"
      i: 1
      type: INT
    }
  }
  name: "test_onehot_with_axis"
  initializer {
    dims: 1
    data_type: 7
    int64_data: 10
    name: "depth"
  }
  input {
    name: "indices"
    type {
      tensor_type {
        elem_type: 1
        shape {
          dim {
            dim_value: 2
          }
          dim {
            dim_value: 2
          }
        }
      }
    }
  }
  input {
    name: "depth"
    type {
      tensor_type {
        elem_type: 7
        shape {
          dim {
            dim_value: 1
          }
        }
      }
    }
  }
  input {
    name: "values"
    type {
      tensor_type {
        elem_type: 1
        shape {
          dim {
            dim_value: 2
          }
        }
      }
    }
  }
  output {
    name: "y"
    type {
      tensor_type {
        elem_type: 1
        shape {
          dim {
            dim_value: 2
          }
          dim {
            dim_value: 10
          }
          dim {
            dim_value: 2
          }
        }
      }
    }
  }
}
opset_import {
  version: 9
}