class_docstr: .. note:: `zoo.pipeline.api.onnx` is deprecated in 0.10.0
  This will be removed in future releases.
class_docstr_tok: ["..","note",":",":","`","zoo.pipeline.api.onnx","`","is","deprecated","in","0.10.0","This","will","be","removed","in","future","releases","."]
code: def from_path(cls, onnx_path, is_training=False):
      warnings.warn(
          "deprecated in 0.10.0, and will be removed in future release"
      )
      onnx_model = onnx.load(onnx_path)
      try:
          zmodel = OnnxLoader(onnx_model.graph).to_keras()
      except Exception as e:
          print(onnx_model)
          raise e
      zmodel.training(is_training=is_training)
      return zmodel
  
file_path: analytics-zoo/pyzoo/zoo/pipeline/api/onnx/onnx_loader.py
imports: from collections import OrderedDict
  import onnx
  import zoo.pipeline.api.keras.models
  from zoo.pipeline.api.onnx.mapper.operator_mapper import OperatorMapper
  from zoo.pipeline.api.onnx.onnx_helper import OnnxHelper
  import warnings
label_desc: Use image node_id 2 for calling the OnnxLoader obj's underlying member method code with example usage: obj.from_path(cls, onnx_path, is_training) and returns: zmodel