Skip to content

Commit

Permalink
Fix clang format issue
Browse files Browse the repository at this point in the history
  • Loading branch information
billishyahao committed Jun 5, 2022
1 parent ad5a3da commit 4c34e00
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/runtime/contrib/dnnl/dnnl_json_runtime.cc
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,6 @@ class DNNLJSONRuntime : public JSONRuntimeBase {
}

void LayerNorm(const size_t& nid) {

auto node = nodes_[nid];

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

Submit(
dnnl::layer_normalization_forward(lnorm_prim_desc),
{{DNNL_ARG_SRC, src_tr}, {DNNL_ARG_DST, dst_tr}, {DNNL_ARG_SCALE_SHIFT, scale_shift_tr}});
dnnl::layer_normalization_forward(lnorm_prim_desc),
{{DNNL_ARG_SRC, src_tr}, {DNNL_ARG_DST, dst_tr}, {DNNL_ARG_SCALE_SHIFT, scale_shift_tr}});
}

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

0 comments on commit 4c34e00

Please sign in to comment.