909c4acfdd
Validate Operations / validate-operations (push) Has been cancelled
remove Spatial many ops in favor of tensor ops like in pim
13 lines
212 B
C++
13 lines
212 B
C++
#pragma once
|
|
|
|
#include "mlir/IR/Operation.h"
|
|
#include "mlir/IR/Value.h"
|
|
|
|
namespace onnx_mlir {
|
|
|
|
bool isHostFoldableValue(mlir::Value value);
|
|
|
|
bool isHostFoldableOp(mlir::Operation* op);
|
|
|
|
} // namespace onnx_mlir
|