| 229 | } |
| 230 | |
| 231 | static bool IsConst(Operation* op) { |
| 232 | return isa<mlir::ConstantOp>(op) || isa<mlir::TF::ConstOp>(op) || |
| 233 | isa<tfl::ConstOp>(op) || isa<tfl::QConstOp>(op); |
| 234 | } |
| 235 | |
| 236 | template <typename T> |
| 237 | static bool HasValidTFLiteType(Value value, T& error_handler) { |
no outgoing calls
no test coverage detected