| 11 | namespace mlx::core { |
| 12 | |
| 13 | array::array(const std::complex<float>& val, Dtype dtype /* = complex64 */) |
| 14 | : array_desc_(std::make_shared<ArrayDesc>(Shape{}, dtype)) { |
| 15 | auto cval = static_cast<complex64_t>(val); |
| 16 | init(&cval); |
| 17 | } |
| 18 | |
| 19 | array::array( |
| 20 | Shape shape, |
nothing calls this directly
no test coverage detected