mirror of
https://github.com/ml-explore/mlx.git
synced 2025-10-22 11:14:32 +08:00
Use unordered map for kwargs in export/import (#2087)
* use unordered map for kwargs in export/import * comment
This commit is contained in:
@@ -2,14 +2,14 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <unordered_map>
|
||||
#include "mlx/array.h"
|
||||
|
||||
namespace mlx::core {
|
||||
|
||||
using Args = std::vector<array>;
|
||||
using Kwargs = std::map<std::string, array>;
|
||||
using Kwargs = std::unordered_map<std::string, array>;
|
||||
|
||||
struct FunctionExporter;
|
||||
|
||||
|
Reference in New Issue
Block a user