| 531 | |
| 532 | template <typename It> |
| 533 | array::array( |
| 534 | It data, |
| 535 | Shape shape, |
| 536 | Dtype dtype /* = TypeToDtype<typename std::iterator_traits<It>::value_type>() */) : |
| 537 | array_desc_(std::make_shared<ArrayDesc>(std::move(shape), dtype)) { |
| 538 | init(data); |
| 539 | } |
| 540 | |
| 541 | template <typename T> |
| 542 | array::array( |