Skip to content

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

4.3 KB
Raw Blame
ir_version: 7
producer_name: "OpenVINO ONNX Frontend"
graph {
  node {
    output: "W"
    op_type: "Constant"
    attribute {
      name: "value"
      t {
        dims: 1
        dims: 12
        dims: 1
        data_type: 1
        float_data: 0.31403765082359314
        float_data: -0.16793324053287506
        float_data: 1.3882579803466797
        float_data: -0.690295398235321
        float_data: -0.39940449595451355
        float_data: -0.7833511233329773
        float_data: -0.30992957949638367
        float_data: 0.35575729608535767
        float_data: -0.46826308965682983
        float_data: 1.1741459369659424
        float_data: -2.4147889614105225
        float_data: -0.42783254384994507
        name: "const_tensor_W"
      }
      type: TENSOR
    }
  }
  node {
    output: "R"
    op_type: "Constant"
    attribute {
      name: "value"
      t {
        dims: 1
        dims: 12
        dims: 3
        data_type: 1
        float_data: 0.8490582704544067
        float_data: 0.45121243596076965
        float_data: -1.179901361465454
        float_data: 0.13536448776721954
        float_data: 0.813286542892456
        float_data: 0.6017516255378723
        float_data: 0.4847572445869446
        float_data: -1.2136037349700928
        float_data: 0.16383321583271027
        float_data: 1.5106260776519775
        float_data: 1.1177502870559692
        float_data: 0.2358246147632599
        float_data: 0.8490582704544067
        float_data: 0.45121243596076965
        float_data: -1.179901361465454
        float_data: 0.13536448776721954
        float_data: 0.813286542892456
        float_data: 0.6017516255378723
        float_data: 0.4847572445869446
        float_data: -1.2136037349700928
        float_data: 0.16383321583271027
        float_data: 1.5106260776519775
        float_data: 1.1177502870559692
        float_data: 0.2358246147632599
        float_data: 0.8490582704544067
        float_data: 0.45121243596076965
        float_data: -1.179901361465454
        float_data: 0.13536448776721954
        float_data: 0.813286542892456
        float_data: 0.6017516255378723
        float_data: 0.4847572445869446
        float_data: -1.2136037349700928
        float_data: 0.16383321583271027
        float_data: 1.5106260776519775
        float_data: 1.1177502870559692
        float_data: 0.2358246147632599
        name: "const_tensor"
      }
      type: TENSOR
    }
  }
  node {
    output: "sequence_lens"
    op_type: "Constant"
    attribute {
      name: "value"
      t {
        dims: 2
        data_type: 6
        int32_data: 1
        int32_data: 2
        name: "const_tensor"
      }
      type: TENSOR
    }
  }
  node {
    input: "X"
    input: "W"
    input: "R"
    input: ""
    input: "sequence_lens"
    output: "Y"
    output: "Y_h"
    output: "Y_c"
    op_type: "LSTM"
    attribute {
      name: "activations"
      strings: "sigmoid"
      strings: "tanh"
      strings: "tanh"
      type: STRINGS
    }
    attribute {
      name: "direction"
      s: "forward"
      type: STRING
    }
    attribute {
      name: "hidden_size"
      i: 3
      type: INT
    }
  }
  name: "test-model-lstm"
  input {
    name: "X"
    type {
      tensor_type {
        elem_type: 1
        shape {
          dim {
            dim_value: 2
          }
          dim {
            dim_value: 2
          }
          dim {
            dim_value: 1
          }
        }
      }
    }
  }
  output {
    name: "Y"
    type {
      tensor_type {
        elem_type: 1
        shape {
          dim {
            dim_value: 2
          }
          dim {
            dim_value: 1
          }
          dim {
            dim_value: 2
          }
          dim {
            dim_value: 3
          }
        }
      }
    }
  }
  output {
    name: "Y_h"
    type {
      tensor_type {
        elem_type: 1
        shape {
          dim {
            dim_value: 1
          }
          dim {
            dim_value: 2
          }
          dim {
            dim_value: 3
          }
        }
      }
    }
  }
  output {
    name: "Y_c"
    type {
      tensor_type {
        elem_type: 1
        shape {
          dim {
            dim_value: 1
          }
          dim {
            dim_value: 2
          }
          dim {
            dim_value: 3
          }
        }
      }
    }
  }
}
opset_import {
  domain: ""
  version: 12
}