| 71 | Gaussian() = default; |
| 72 | Gaussian(const float m, const float s): mean_(m), std_(s) {} |
| 73 | void Setup(const InitializerConf& conf) override { |
| 74 | mean_ = conf.mean(); |
| 75 | std_ = conf.std(); |
| 76 | } |
| 77 | void Fill(Tensor& t) override { singa::Gaussian(mean_, std_, &t); } |
| 78 | |
| 79 | private: |
nothing calls this directly
no outgoing calls
no test coverage detected