mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-22 22:01:08 +00:00
move SetOutputMLValue from op_kernel.h to op_kernel_context.h
This commit is contained in:
parent
d5667554e6
commit
aa93f2e236
1 changed files with 1 additions and 0 deletions
|
|
@ -175,6 +175,7 @@ class OpKernelContext {
|
|||
const OrtValue* GetInputMLValue(int index) const;
|
||||
const OrtValue* GetImplicitInputMLValue(int index) const;
|
||||
OrtValue* GetOutputMLValue(int index);
|
||||
Status SetOutputMLValue(int index, const OrtValue& ort_value);
|
||||
|
||||
// Creates the OrtValue* based on the shape, if it does not exist
|
||||
// The parameter nnz is used only for sparse-tensors and indicates the
|
||||
|
|
|
|||
Loading…
Reference in a new issue