From ec110f33cb83c02a2b4492037ca81bae7c6b9784 Mon Sep 17 00:00:00 2001 From: Nanashi Date: Mon, 18 Mar 2024 09:38:07 +0900 Subject: [PATCH] Delete: Delete redundant return --- js/web/lib/onnxjs/model.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/js/web/lib/onnxjs/model.ts b/js/web/lib/onnxjs/model.ts index 1679330a00864..8e689626011be 100644 --- a/js/web/lib/onnxjs/model.ts +++ b/js/web/lib/onnxjs/model.ts @@ -32,7 +32,6 @@ export class Model { try { this.loadFromOrtFormat(buf, graphInitializer); - return; } catch (e) { if (isOrtFormat !== undefined) { throw e;