(shape, device=get_default_device())
| 1830 | |
| 1831 | |
| 1832 | def zeros(shape, device=get_default_device()): |
| 1833 | ret = Tensor(shape, device=device) |
| 1834 | ret.set_value(0.0) |
| 1835 | return ret |
| 1836 | |
| 1837 | |
| 1838 | def ones(shape, device=get_default_device()): |
nothing calls this directly
no test coverage detected