Method SetPressure
SetPressure(EdgeMemoryPressure?)
Called by OnnxLifecycleObserver only. Not part of the consumer surface.
null clears the latch.
void SetPressure(EdgeMemoryPressure? level)
Parameters
levelEdgeMemoryPressure?The level to latch, or null to clear.