From 8a14cbff099f5f5be606536a5ad027430fd88642 Mon Sep 17 00:00:00 2001 From: Arthur Islamov Date: Fri, 6 Oct 2023 19:40:51 +0400 Subject: [PATCH] Release build fix --- onnxruntime/contrib_ops/js/bert/attention.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/onnxruntime/contrib_ops/js/bert/attention.h b/onnxruntime/contrib_ops/js/bert/attention.h index 94111e5e251b5..0fa823befa9b2 100644 --- a/onnxruntime/contrib_ops/js/bert/attention.h +++ b/onnxruntime/contrib_ops/js/bert/attention.h @@ -23,13 +23,13 @@ class Attention : public JsKernel, AttentionBase { } JSEP_INIT_KERNEL_ATTRIBUTE(Attention, ({ - numHeads : $1, - isUnidirectional : $2, - maskFilterValue : $3, - scale : $4, - doRotary : $5, - qkvHiddenSizes : $6 ? (Array.from(HEAP32.subarray(Number($7), Number($7) + $6))) : [], - pastPresentShareBuffer : !!$8, + "numHeads" : $1, + "isUnidirectional" : $2, + "maskFilterValue" : $3, + "scale" : $4, + "doRotary" : $5, + "qkvHiddenSizes" : $6 ? (Array.from(HEAP32.subarray(Number($7), Number($7) + $6))) : [], + "pastPresentShareBuffer" : !!$8, }), static_cast(num_heads_), static_cast(is_unidirectional_),