| 74 | } |
| 75 | |
| 76 | Tensor::Tensor(const std::shared_ptr<TensorViewImpl>& impl) : impl_(impl) {} |
| 77 | |
| 78 | Tensor Tensor::empty(const std::vector<int32_t>& shape, DataTypes dtype, DeviceTypes device) { |
| 79 | auto storage = TensorStorage::create(shape, dtype, device); |