use string (#976)

This commit is contained in:
Awni Hannun
2024-04-09 11:22:00 -07:00
committed by GitHub
parent b63ef10a7f
commit ae812350f9
4 changed files with 6 additions and 6 deletions

View File

@@ -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 = {}) {