LeCun uniform initializer. It draws samples from a uniform distribution within [-limit, limit] where `limit` is `sqrt(3 / fan_in)` where `fan_in` is the number of input units in the weight tensor. # Arguments t(Tensor):the tensor to be filled in. # References -
(t)
| 79 | |
| 80 | |
| 81 | def lecun_uniform(t): |
| 82 | """LeCun uniform initializer. |
| 83 | |
| 84 | It draws samples from a uniform distribution within [-limit, limit] |
| 85 | where `limit` is `sqrt(3 / fan_in)` |
| 86 | where `fan_in` is the number of input units in the weight tensor. |
| 87 | |
| 88 | # Arguments |
| 89 | t(Tensor):the tensor to be filled in. |
| 90 | |
| 91 | # References |
| 92 | - [Efficient BackProp](http://yann.lecun.com/exdb/publis/pdf/lecun-98b.pdf) |
| 93 | """ |
| 94 | _random_fill(t, scale=1., mode='fan_in', distribution='uniform') |
| 95 | |
| 96 | |
| 97 | def glorot_normal(t): |
nothing calls this directly
no test coverage detected