d09e76c8f9
Validate Operations / validate-operations (push) Has been cancelled
fix reshape lowering add support for grouped-convolution lowering quieter verifier with capped error messages
16 lines
329 B
C++
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
|