mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-16 01:49:05 +08:00
use string (#976)
This commit is contained in:
@@ -38,13 +38,13 @@ inline array norm(
|
||||
}
|
||||
array norm(
|
||||
const array& a,
|
||||
std::string_view ord,
|
||||
const std::string& ord,
|
||||
const std::optional<std::vector<int>>& axis = std::nullopt,
|
||||
bool keepdims = false,
|
||||
StreamOrDevice s = {});
|
||||
inline array norm(
|
||||
const array& a,
|
||||
std::string_view ord,
|
||||
const std::string& ord,
|
||||
int axis,
|
||||
bool keepdims = false,
|
||||
StreamOrDevice s = {}) {
|
||||
|
||||
Reference in New Issue
Block a user