| 1461 | } |
| 1462 | |
| 1463 | PyTensor PyTensor::full(const std::vector<int64_t>& shape, float value, |
| 1464 | const std::string& device, |
| 1465 | const std::string& dtype) { |
| 1466 | return PyTensor(Tensor::full(to_tensor_shape(shape), value, parse_device(device), parse_dtype(dtype))); |
| 1467 | } |
| 1468 | |
| 1469 | PyTensor PyTensor::arange(float end) { |
| 1470 | return PyTensor(Tensor::arange(end)); |