MCPcopy Create free account
hub / github.com/ml-explore/mlx / array_from_list

Function array_from_list

python/src/convert.cpp:452–454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

450}
451
452mx::array array_from_list(nb::list pl, std::optional<mx::Dtype> dtype) {
453 return array_from_list_impl(pl, dtype);
454}
455
456mx::array array_from_list(nb::tuple pl, std::optional<mx::Dtype> dtype) {
457 return array_from_list_impl(pl, dtype);

Callers 6

create_arrayFunction · 0.85
mlx_get_item_ndFunction · 0.85
mlx_get_itemFunction · 0.85
mlx_scatter_args_ndFunction · 0.85
mlx_compute_scatter_argsFunction · 0.85
extract_boolean_maskFunction · 0.85

Calls 1

array_from_list_implFunction · 0.85

Tested by

no test coverage detected