• Adam Rogowiec's avatar
    [ONNX] Convert models to text format. (#2528) · 073e68fd
    Adam Rogowiec authored
    * Handle models in prototxt format.
    Signed-off-by: 's avatarAdam Rogowiec <adam.rogowiec@intel.com>
    
    * Convert Onnx models to text format.
    
    * Tool for conversion between protobuf ONNX models in binary and text format.
    Signed-off-by: 's avatarAdam Rogowiec <adam.rogowiec@intel.com>
    
    * Update ONNX test models text format.
    
    * Convert ONNX LSTM model to text format.
    
    * Rename and make second argument optional.
    
    * Unify models metadata.
    
    * Remove onnx binary models.
    
    * Review: fix comments.
    
    * Fix not yet updated models extension in UTs.
    
    * Add UT with binary protobuf models.
    
    * Clang format.
    
    * Remove failing UT in prototxt since it has problems with CI.
    
    * Inhibit logging protobuf errors.
    
    * Revert "Remove failing UT in prototxt since it has problems with CI."
    
    This reverts commit 94741a8c4594f3cc2ebdca428fa40b94a79240c2.
    
    * Remove LogSilencer from onnx importer api and remove respective UT.
    
    * Conversion script updates
    073e68fd
sigmoid.prototxt 741 Bytes
ir_version: 3
producer_name: "nGraph ONNX Importer"
graph {
  node {
    input: "x"
    output: "y"
    op_type: "Sigmoid"
  }
  name: "test_sigmoid"
  input {
    name: "x"
    type {
      tensor_type {
        elem_type: 1
        shape {
          dim {
            dim_value: 3
          }
          dim {
            dim_value: 4
          }
          dim {
            dim_value: 5
          }
        }
      }
    }
  }
  output {
    name: "y"
    type {
      tensor_type {
        elem_type: 1
        shape {
          dim {
            dim_value: 3
          }
          dim {
            dim_value: 4
          }
          dim {
            dim_value: 5
          }
        }
      }
    }
  }
}
opset_import {
  version: 7
}