| 1531 | } |
| 1532 | |
| 1533 | PyTensor PyTensor::randint(int64_t low, int64_t high, |
| 1534 | const std::vector<int64_t>& shape, |
| 1535 | const std::string& device) { |
| 1536 | return PyTensor(Tensor::randint(to_tensor_shape(shape), static_cast<int>(low), static_cast<int>(high), |
| 1537 | parse_device(device))); |
| 1538 | } |
| 1539 | |
| 1540 | // *_like variants |
| 1541 | PyTensor PyTensor::zeros_like(const PyTensor& other) { |
nothing calls this directly
no test coverage detected