mirror of
https://github.com/ml-explore/mlx.git
synced 2025-10-20 17:38:09 +08:00
Add Primitive::name and remove Primitive::print (#2365)
This commit is contained in:
@@ -3076,7 +3076,7 @@ void init_ops(nb::module_& m) {
|
||||
std::tuple<int>,
|
||||
std::pair<int, int>,
|
||||
std::vector<std::pair<int, int>>>& pad_width,
|
||||
const std::string mode,
|
||||
const std::string& mode,
|
||||
const ScalarOrArray& constant_value,
|
||||
mx::StreamOrDevice s) {
|
||||
if (auto pv = std::get_if<int>(&pad_width); pv) {
|
||||
|
Reference in New Issue
Block a user