move SetOutputMLValue from op_kernel.h to op_kernel_context.h

This commit is contained in:
Baiju Meswani 2021-03-03 20:38:17 -08:00
parent d5667554e6
commit aa93f2e236

View file

@ -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