WebNN: Expose MLGraph::destroy interface to release graph
Like MLBuffer
and MLContext
, MLGraph
also holds a bunch of
buffers. This CL exposes MLGraph::destroy
interface to release graph.
Bug: 357382539
Change-Id: I1f462eb207aa571d459eef646b6f37891ff1f2a7
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel, mac14.arm64-blink-rel, mac14-blink-rel, mac15.arm64-blink-rel, mac15-blink-rel, linux-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5799069
Reviewed-by: Reilly Grant reillyg@chromium.org
Reviewed-by: Weizhong Xia weizhong@google.com
Commit-Queue: Mingming1 Xu mingming1.xu@intel.com
Reviewed-by: ningxin hu ningxin.hu@intel.com
Cr-Commit-Position: refs/heads/main@{#1345340}