// Copyright © 2024 Apple Inc. #pragma once #include #include #include #include "mlx/array.h" #include "mlx/utils.h" namespace mlx::core { std::pair>, std::string> einsum_path( const std::string& subscripts, const std::vector& operands); array einsum( const std::string& subscripts, const std::vector& operands, StreamOrDevice s = {}); } // namespace mlx::core