mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-19 02:38:09 +08:00
Pickle + dtype fix for numpy conversion (#763)
* pickle + dtype fix for numpy conversion * fix getattribute on Module base * remove unused function * fix tests * add topk to ops * fix doc
This commit is contained in:
@@ -46,10 +46,6 @@ struct Dtype {
|
||||
};
|
||||
};
|
||||
|
||||
inline bool is_available(const Dtype& dtype) {
|
||||
return true;
|
||||
}
|
||||
|
||||
static constexpr Dtype bool_{Dtype::Val::bool_, sizeof(bool)};
|
||||
|
||||
static constexpr Dtype uint8{Dtype::Val::uint8, sizeof(uint8_t)};
|
||||
|
Reference in New Issue
Block a user