From 172d1bc1dd777dc076cf58f400bbe7918c89646c Mon Sep 17 00:00:00 2001 From: Honry Date: Mon, 29 Jul 2024 01:28:01 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20webmachi?= =?UTF-8?q?nelearning/webnn-samples@2b63a95c37f52100d1f685fae8cdf6ed8d7bfa?= =?UTF-8?q?d3=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rnnoise/rnnoise.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rnnoise/rnnoise.js b/rnnoise/rnnoise.js index 12ce860d..962b10ae 100644 --- a/rnnoise/rnnoise.js +++ b/rnnoise/rnnoise.js @@ -77,7 +77,7 @@ export class RNNoise { initialHiddenState: vadGruInitialH, returnSequence: true, resetAfter: false, - activations: [this.builder_.sigmoid(), this.builder_.relu()], + activations: ['sigmoid', 'relu'], }); const vadGruYTransposed = this.builder_.transpose( vadGruY, {permutation: [2, 0, 1, 3]}); @@ -104,7 +104,7 @@ export class RNNoise { initialHiddenState: noiseGruInitialH, returnSequence: true, resetAfter: false, - activations: [this.builder_.sigmoid(), this.builder_.relu()], + activations: ['sigmoid', 'relu'], }); const noiseGruYTransposed = this.builder_.transpose( noiseGruY, {permutation: [2, 0, 1, 3]}); @@ -131,7 +131,7 @@ export class RNNoise { initialHiddenState: denoiseGruInitialH, returnSequence: true, resetAfter: false, - activations: [this.builder_.sigmoid(), this.builder_.relu()], + activations: ['sigmoid', 'relu'], }); const denoiseGruYTransposed = this.builder_.transpose( denoiseGruY, {permutation: [2, 0, 1, 3]});