| 13 | |
| 14 | namespace MNN { |
| 15 | bool needComputeOp(const Op* op) { |
| 16 | if (op->type() != OpType_Input && op->type() != OpType_Const && op->type() != OpType_TrainableParam) { |
| 17 | return true; |
| 18 | } |
| 19 | return false; |
| 20 | } |
| 21 | bool computeShapeForBlob(const Blob* parameter, Tensor* output) { |
| 22 | bool zeroShape = false; |
| 23 | if (parameter->dims() != nullptr) { |
no test coverage detected