MCPcopy Create free account
hub / github.com/apache/singa / Fill

Method Fill

include/singa/model/initializer.h:77–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 std_ = conf.std();
76 }
77 void Fill(Tensor& t) override { singa::Gaussian(mean_, std_, &t); }
78
79 private:
80 float mean_ = 0, std_ = 1;

Callers

nothing calls this directly

Calls 1

GaussianClass · 0.70

Tested by

no test coverage detected