mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-17 09:18:12 +08:00
fix export to work with gather/scatter axis (#2263)
This commit is contained in:
@@ -266,6 +266,7 @@ struct PrimitiveFactory {
|
||||
SERIALIZE_PRIMITIVE(Floor),
|
||||
SERIALIZE_PRIMITIVE(Full),
|
||||
SERIALIZE_PRIMITIVE(Gather),
|
||||
SERIALIZE_PRIMITIVE(GatherAxis),
|
||||
SERIALIZE_PRIMITIVE(GatherMM),
|
||||
SERIALIZE_PRIMITIVE(Greater),
|
||||
SERIALIZE_PRIMITIVE(GreaterEqual),
|
||||
@@ -307,6 +308,7 @@ struct PrimitiveFactory {
|
||||
"CumMax",
|
||||
"CumLogaddexp"),
|
||||
SERIALIZE_PRIMITIVE(Scatter),
|
||||
SERIALIZE_PRIMITIVE(ScatterAxis),
|
||||
SERIALIZE_PRIMITIVE(Select),
|
||||
SERIALIZE_PRIMITIVE(Sigmoid),
|
||||
SERIALIZE_PRIMITIVE(Sign),
|
||||
|
Reference in New Issue
Block a user