Skip to content

Commit

Permalink
[ trivial ] clang format
Browse files Browse the repository at this point in the history
- clang format is applied.

Signed-off-by: Eunju Yang <[email protected]>
  • Loading branch information
EunjuYang committed Nov 20, 2024
1 parent da18596 commit 6dc250f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions nntrainer/cl_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ static void add_default_object(ClContext &cc) {
// ml::train::LayerType::LAYER_ADDITION);

// @todo swiglulayercl also needs to be updated.
cc.registerFactory(nntrainer::createLayer<SwiGLULayerCl>,
SwiGLULayerCl::type,
ml::train::LayerType::LAYER_SWIGLU);
cc.registerFactory(nntrainer::createLayer<SwiGLULayerCl>, SwiGLULayerCl::type,
ml::train::LayerType::LAYER_SWIGLU);

if (ReshapeLayerCl::registerClKernels()) {
cc.registerFactory(nntrainer::createLayer<ReshapeLayerCl>,
Expand All @@ -56,7 +55,7 @@ static void add_default_object(ClContext &cc) {

// @todo rmsnormlayercl also needs to be updated.
cc.registerFactory(nntrainer::createLayer<RMSNormLayerCl>,
RMSNormLayerCl::type, ml::train::LayerType::LAYER_RMSNORM);
RMSNormLayerCl::type, ml::train::LayerType::LAYER_RMSNORM);

if (ConcatLayerCl::registerClKernels()) {
cc.registerFactory(nntrainer::createLayer<ConcatLayerCl>,
Expand Down

0 comments on commit 6dc250f

Please sign in to comment.