mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-16 01:49:05 +08:00
shapeless compile in docs and partially shapeless reshape (#1742)
This commit is contained in:
@@ -1746,6 +1746,8 @@ class Reshape : public UnaryPrimitive {
|
||||
std::vector<int> state() const {
|
||||
return shape_;
|
||||
};
|
||||
static Shape output_shape(const array& input, Shape shape);
|
||||
std::vector<Shape> output_shapes(const std::vector<array>& inputs) override;
|
||||
|
||||
private:
|
||||
Shape shape_;
|
||||
|
||||
Reference in New Issue
Block a user