mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-25 22:26:24 +00:00
weak ref comment
This commit is contained in:
parent
f07fdf96b4
commit
f32bbd5cb7
1 changed files with 2 additions and 1 deletions
|
|
@ -38,11 +38,12 @@ MIDL_INTERFACE("72aa5eee-100c-4146-9008-4643d3b8af23") IOrtValue : IUnknown{
|
|||
virtual OrtValue& STDMETHODCALLTYPE get() = 0;
|
||||
virtual onnxruntime::MLDataType STDMETHODCALLTYPE Type() = 0;
|
||||
virtual bool STDMETHODCALLTYPE IsTensor() = 0;
|
||||
// end
|
||||
// end
|
||||
virtual HRESULT STDMETHODCALLTYPE GetTensor(ITensor ** tensor) = 0;
|
||||
};
|
||||
|
||||
MIDL_INTERFACE("438e7719-554a-4058-84d9-eb6226c34887") IIOBinding : IUnknown{
|
||||
// this returns a weak ref
|
||||
virtual onnxruntime::IOBinding* STDMETHODCALLTYPE get() = 0;
|
||||
virtual HRESULT STDMETHODCALLTYPE BindInput(const std::string& name, IOrtValue * ml_value) = 0;
|
||||
virtual HRESULT STDMETHODCALLTYPE BindOutput(const std::string& name, IOrtValue * ml_value) = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue