| 1420 | } |
| 1421 | |
| 1422 | std::shared_ptr<TensorList<CPUBackend>> TensorListFromListOfDLPackObjectsCPU( |
| 1423 | py::list &list_of_objects, |
| 1424 | const std::optional<std::string> &layout, |
| 1425 | bool contiguous) { |
| 1426 | return TensorListFromListOfDLPackObjects<CPUBackend>( |
| 1427 | list_of_objects, layout, py::none(), contiguous); |
| 1428 | } |
| 1429 | |
| 1430 | std::shared_ptr<TensorList<GPUBackend>> TensorListFromListOfDLPackObjectsGPU( |
| 1431 | py::list &list_of_objects, |
no outgoing calls
no test coverage detected