Skip to content

Commit

Permalink
[format] formatting files using clang-format
Browse files Browse the repository at this point in the history
There was a formatting issue in the previous version due to incorrect clang-format settings, but I have now properly configured the settings in the local environment and reapplied clang-format.

Signed-off-by: lhw414 <[email protected]>
  • Loading branch information
lhw414 committed Oct 12, 2024
1 parent 4da7426 commit b14a409
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nntrainer/app_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
#include <input_layer.h>
#include <layer_normalization_layer.h>
#include <lr_scheduler_constant.h>
#include <lr_scheduler_cosine.h>
#include <lr_scheduler_exponential.h>
#include <lr_scheduler_step.h>
#include <lr_scheduler_cosine.h>
#include <lstm.h>
#include <lstmcell.h>
#include <mol_attention_layer.h>
Expand Down
4 changes: 2 additions & 2 deletions nntrainer/layers/common_properties.h
Original file line number Diff line number Diff line change
Expand Up @@ -1477,7 +1477,7 @@ class LearningRate : public Property<float> {

/**
* @brief Max Learning Rate props
*
*
*/
class MaxLearningRate : public Property<float> {
public:
Expand All @@ -1488,7 +1488,7 @@ class MaxLearningRate : public Property<float> {

/**
* @brief Min Learning Rate props
*
*
*/
class MinLearningRate : public Property<float> {
public:
Expand Down
2 changes: 1 addition & 1 deletion nntrainer/optimizers/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ optimizer_sources = [
'sgd.cpp',
'optimizer_context.cpp',
'lr_scheduler_constant.cpp',
'lr_scheduler_cosine.cpp',
'lr_scheduler_exponential.cpp',
'lr_scheduler_step.cpp',
'lr_scheduler_cosine.cpp',
'optimizer_wrapped.cpp'
]

Expand Down

0 comments on commit b14a409

Please sign in to comment.