Skip to content

Commit

Permalink
Formating
Browse files Browse the repository at this point in the history
  • Loading branch information
satyajandhyala committed Oct 28, 2023
1 parent 4812de9 commit ae878de
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions onnxruntime/core/providers/js/operators/conv.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
namespace onnxruntime {
namespace js {


class ConvBase : public JsKernel {
public:
ConvBase(const OpKernelInfo& info, bool is_channels_last, bool is_fused_conv) : JsKernel(info), conv_attrs_(info), w_is_const_(false) {

Check warning on line 14 in onnxruntime/core/providers/js/operators/conv.h

View workflow job for this annotation

GitHub Actions / cpplint

[cpplint] onnxruntime/core/providers/js/operators/conv.h#L14

Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw output
onnxruntime/core/providers/js/operators/conv.h:14:  Lines should be <= 120 characters long  [whitespace/line_length] [2]
Expand Down Expand Up @@ -115,11 +114,12 @@ class ConvBase : public JsKernel {
std::vector<float> activation_params_;

Check warning on line 114 in onnxruntime/core/providers/js/operators/conv.h

View workflow job for this annotation

GitHub Actions / cpplint

[cpplint] onnxruntime/core/providers/js/operators/conv.h#L114

Add #include <vector> for vector<> [build/include_what_you_use] [4]
Raw output
onnxruntime/core/providers/js/operators/conv.h:114:  Add #include <vector> for vector<>  [build/include_what_you_use] [4]
// Tensor w_transposed_;
};

template <bool is_channels_last, bool is_fused_conv = false>
class Conv : public ConvBase {
public:
Conv(const OpKernelInfo& info) : ConvBase(info, is_channels_last, is_fused_conv) {
}
public:
Conv(const OpKernelInfo& info) : ConvBase(info, is_channels_last, is_fused_conv) {

Check warning on line 121 in onnxruntime/core/providers/js/operators/conv.h

View workflow job for this annotation

GitHub Actions / cpplint

[cpplint] onnxruntime/core/providers/js/operators/conv.h#L121

Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
Raw output
onnxruntime/core/providers/js/operators/conv.h:121:  Single-parameter constructors should be marked explicit.  [runtime/explicit] [5]
}
};

} // namespace js
Expand Down

0 comments on commit ae878de

Please sign in to comment.