Skip to content

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

2.7 KB
Raw Blame
ir_version: 6
producer_name: "OpenVINO ONNX Frontend"
graph {
  name: "basic loop"
  node {
    input: "trip_count"
    input: ""
    input: "a_init"
    output: "a_final"
    output: "a_values"
    op_type: "Loop"
    attribute {
      name: "body"
      g {
        node {
          input: "a_in"
          input: "b"
          output: "current_a"
          name: "loop_body_add"
          op_type: "Add"
        }
        node {
          input: "cond_in"
          output: "cond_out"
          name: "cond_identity"
          op_type: "Identity"
        }
        node {
          input: "current_a"
          output: "a_out"
          name: "output_accumulator"
          op_type: "Identity"
        }
        name: "simple add"
        initializer {
          dims: 1
          dims: 2
          data_type: 1
          float_data: 1
          float_data: 1
          name: "b"
        }
        input {
          name: "i"
          type {
            tensor_type {
              elem_type: 7
              shape {
              }
            }
          }
        }
        input {
          name: "cond_in"
          type {
            tensor_type {
              elem_type: 9
              shape {
              }
            }
          }
        }
        input {
          name: "a_in"
          type {
            tensor_type {
              elem_type: 1
              shape {
                dim {
                  dim_value: 1
                }
                dim {
                  dim_value: 2
                }
              }
            }
          }
        }
        output {
          name: "cond_out"
          type {
            tensor_type {
              elem_type: 9
              shape {
              }
            }
          }
        }
        output {
          name: "current_a"
          type {
            tensor_type {
              elem_type: 1
              shape {
              }
            }
          }
        }
        output {
          name: "a_out"
          type {
            tensor_type {
              elem_type: 1
              shape {
              }
            }
          }
        }
      }
      type: GRAPH
    }
  }
  initializer {
    dims: 1
    data_type: 7
    int64_data: 3
    name: "trip_count"
  }
  input {
    name: "a_init"
    type {
      tensor_type {
        elem_type: 1
        shape {
          dim {
            dim_value: 1
          }
          dim {
            dim_value: 2
          }
        }
      }
    }
  }
  output {
    name: "a_final"
    type {
      tensor_type {
        elem_type: 1
        shape {
        }
      }
    }
  }
  output {
    name: "a_values"
    type {
      tensor_type {
        elem_type: 1
        shape {
        }
      }
    }
  }
}
opset_import {
  version: 11
}