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_),