Is your feature request related to a problem? Please describe.
I wouldn't like to save files on my service's disk but providing a file name for an ONNX model is currently the only option when I need to load it. Instead, I would like to save the model in a remote source.
Describe the solution you'd like
I'd like to read the ONNX model from a remote source and pass it to ApplyOnnxModel as a byte stream/array instead of providing a local model file name. I see InferenceSession of OnnxRuntime is used for ONNX model loading and it provides a constructor which takes in a byte array as the model. Seems like this constructor could be used to achieve my need.
Is your feature request related to a problem? Please describe.
I wouldn't like to save files on my service's disk but providing a file name for an ONNX model is currently the only option when I need to load it. Instead, I would like to save the model in a remote source.
Describe the solution you'd like
I'd like to read the ONNX model from a remote source and pass it to
ApplyOnnxModelas a byte stream/array instead of providing a local model file name. I seeInferenceSessionofOnnxRuntimeis used for ONNX model loading and it provides a constructor which takes in a byte array as the model. Seems like this constructor could be used to achieve my need.