| 68 | } |
| 69 | |
| 70 | array randn(const dim4 &dims, const dtype ty, randomEngine &r) { |
| 71 | af_array out; |
| 72 | AF_THROW(af_random_normal(&out, dims.ndims(), dims.get(), ty, r.get())); |
| 73 | return array(out); |
| 74 | } |
| 75 | |
| 76 | array randu(const dim4 &dims, const af::dtype type) { |
| 77 | af_array res; |
no test coverage detected