Files
Raptor/src/PIM/Conversion/ONNXToSpatial/HostFoldability.hpp
T
NiccoloN d09e76c8f9
Validate Operations / validate-operations (push) Has been cancelled
fix matmul rewriting/lowering
fix reshape lowering
add support for grouped-convolution lowering
quieter verifier with capped error messages
2026-05-14 14:09:30 +02:00

16 lines
329 B
C++

#pragma once
#include "mlir/IR/BuiltinAttributes.h"
#include "mlir/IR/Operation.h"
#include "mlir/IR/Value.h"
namespace onnx_mlir {
bool isHostFoldableValue(mlir::Value value);
bool isHostFoldableOp(mlir::Operation* op);
mlir::DenseElementsAttr getHostFoldableDenseElementsAttr(mlir::Value value);
} // namespace onnx_mlir