Skip to content

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

2.4 KB
Raw Blame
ir_version: 7
producer_name: "OpenVINO ONNX Frontend"
graph {
  node {
    input: "X"
    input: "W"
    input: "R"
    input: "B"
    input: ""
    input: "initial_h"
    output: "Y"
    output: "Y_h"
    op_type: "RNN"
    attribute {
      name: "direction"
      s: "forward"
      type: STRING
    }
    attribute {
      name: "hidden_size"
      i: 3
      type: INT
    }
    attribute {
      name: "layout"
      i: 2
      type: INT
    }
  }
  name: "test_rnn_layout_invalid"
  initializer {
    dims: 1
    dims: 3
    dims: 2
    data_type: 1
    float_data: -0.33
    float_data: -0.26
    float_data: -0.19
    float_data: -0.120000005
    float_data: -0.050000012
    float_data: 0.02000001
    name: "W"
  }
  initializer {
    dims: 1
    dims: 3
    dims: 3
    data_type: 1
    float_data: -0.25
    float_data: -0.20000002
    float_data: -0.15
    float_data: -0.10000001
    float_data: -0.050000012
    float_data: 0.0
    float_data: 0.049999982
    float_data: 0.099999994
    float_data: 0.15
    name: "R"
  }
  initializer {
    dims: 1
    dims: 6
    data_type: 1
    float_data: -0.17
    float_data: -0.14
    float_data: -0.11000001
    float_data: -0.080000006
    float_data: -0.050000012
    float_data: -0.02000001
    name: "B"
  }
  input {
    name: "X"
    type {
      tensor_type {
        elem_type: 1
        shape {
          dim {
            dim_value: 2
          }
          dim {
            dim_value: 3
          }
          dim {
            dim_value: 2
          }
        }
      }
    }
  }
  input {
    name: "initial_h"
    type {
      tensor_type {
        elem_type: 1
        shape {
          dim {
            dim_value: 2
          }
          dim {
            dim_value: 1
          }
          dim {
            dim_value: 3
          }
        }
      }
    }
  }
  output {
    name: "Y"
    type {
      tensor_type {
        elem_type: 1
        shape {
          dim {
            dim_value: 2
          }
          dim {
            dim_value: 3
          }
          dim {
            dim_value: 1
          }
          dim {
            dim_value: 3
          }
        }
      }
    }
  }
  output {
    name: "Y_h"
    type {
      tensor_type {
        elem_type: 1
        shape {
          dim {
            dim_value: 2
          }
          dim {
            dim_value: 1
          }
          dim {
            dim_value: 3
          }
        }
      }
    }
  }
}
opset_import {
  domain: ""
  version: 14
}