[NFC] polish colossalai/kernel/cuda_native/csrc/kernels/include/softmax.h code style (#964)

pull/997/head
Yuer867 3 years ago committed by binmakeswell
parent 5bd80b7dd1
commit 7106a399fc

@ -10,8 +10,9 @@
using namespace std;
template <typename T> class Softmax {
public:
template <typename T>
class Softmax {
public:
struct Config {
size_t nhead;
Config(size_t nhead) : nhead(nhead) {}
@ -36,6 +37,6 @@ public:
void reset_size(size_t nhead) { config_.nhead = nhead; }
private:
private:
Config config_;
};

Loading…
Cancel
Save