// Copyright 2024 Tencent
// SPDX-License-Identifier: BSD-3-Clause

#include "onnx-ml.pb.h"

namespace pnnx {

namespace onnx2pnnx {

void fold_constants(onnx::ModelProto& model,
                    const std::vector<std::vector<int64_t> >& input_shapes,
                    const std::vector<std::string>& input_types,
                    const std::vector<std::vector<int64_t> >& input_shapes2,
                    const std::vector<std::string>& input_types2);

void fold_constants_dynamic_shape(onnx::ModelProto& model,
                                  const std::vector<std::vector<int64_t> >& input_shapes,
                                  const std::vector<std::string>& input_types);

} // namespace onnx2pnnx

} // namespace pnnx
