fromPointer static method

OrtValueWrapper fromPointer(
  1. OnnxRuntime runtime,
  2. Pointer<OrtValue> ptr
)

Implementation

static OrtValueWrapper fromPointer(OnnxRuntime runtime, Pointer<OrtValue> ptr) {
  return OrtValueWrapper._(ptr, OrtTensor(runtime));
}