Skip to content

Commit 4c34e00

Browse files
committed
Fix clang format issue
1 parent ad5a3da commit 4c34e00

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/runtime/contrib/dnnl/dnnl_json_runtime.cc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,6 @@ class DNNLJSONRuntime : public JSONRuntimeBase {
452452
}
453453

454454
void LayerNorm(const size_t& nid) {
455-
456455
auto node = nodes_[nid];
457456

458457
auto src_tr = GetInput(nid, 0);
@@ -493,8 +492,8 @@ class DNNLJSONRuntime : public JSONRuntimeBase {
493492
register_copy(beta_tr, shift_tr);
494493

495494
Submit(
496-
dnnl::layer_normalization_forward(lnorm_prim_desc),
497-
{{DNNL_ARG_SRC, src_tr}, {DNNL_ARG_DST, dst_tr}, {DNNL_ARG_SCALE_SHIFT, scale_shift_tr}});
495+
dnnl::layer_normalization_forward(lnorm_prim_desc),
496+
{{DNNL_ARG_SRC, src_tr}, {DNNL_ARG_DST, dst_tr}, {DNNL_ARG_SCALE_SHIFT, scale_shift_tr}});
498497
}
499498

500499
void Pooling(const size_t& nid, dnnl::algorithm algo) {

0 commit comments

Comments
 (0)