Normal (Gaussian) random input.
| 13 | |
| 14 | |
| 15 | class RandnTensor: |
| 16 | """Normal (Gaussian) random input.""" |
| 17 | |
| 18 | def __init__(self, shape, mean=0.0, std=1.0, dtype="float32"): |
| 19 | self.shape = tuple(shape) |
| 20 | self.mean = mean |
| 21 | self.std = std |
| 22 | self.dtype = dtype |
| 23 | |
| 24 | |
| 25 | class RandIntTensor: |
no outgoing calls
no test coverage detected