| 353 | // If DType is not float, then convert the threshold to DType |
| 354 | template <typename DType, typename Lang> |
| 355 | void Bernoulli(const float p, Tensor *out, Context *ctx) { |
| 356 | LOG_FATAL("Bernoulli", DType, Lang); |
| 357 | } |
| 358 | // The random generator should be extracted from ctx. |
| 359 | // If DType is not float, then convert the mean and std to DType |
| 360 | template <typename DType, typename Lang> |
nothing calls this directly
no outgoing calls
no test coverage detected