mirror of
https://github.com/ml-explore/mlx.git
synced 2025-10-19 08:38:09 +08:00
Added formatter structure and a boolean value formatter (#354)
* added formatter structure and a boolean value formatter --------- Co-authored-by: Awni Hannun <awni@apple.com>
This commit is contained in:
@@ -520,6 +520,9 @@ class ArrayPythonIterator {
|
||||
};
|
||||
|
||||
void init_array(py::module_& m) {
|
||||
// Set Python print formatting options
|
||||
mlx::core::global_formatter.capitalize_bool = true;
|
||||
|
||||
// Types
|
||||
py::class_<Dtype>(
|
||||
m,
|
||||
|
Reference in New Issue
Block a user