MCPcopy Create free account
hub / github.com/alibaba/MNN / dumpCmd

Function dumpCmd

codegen/OpFuse.cpp:53–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 }
52}
53static void dumpCmd(const Command* cmd) {
54 MNN_PRINT("\n{\n");
55 dumpOp(cmd->op);
56 MNN_PRINT("output: \n");
57 dumpTensor(cmd->outputs[0]);
58 MNN_PRINT("input: \n");
59 for (auto input : cmd->inputs) {
60 dumpTensor(input);
61 }
62 MNN_PRINT("}\n");
63}
64
65void mergeConvolutionAndPrelu(Node* root, MNNForwardType forwardType){
66 if (root->cmd->op != nullptr && root->cmd->op->type() == OpType_Convolution && root->succ.size() == 1) {

Callers 1

opFuseFunction · 0.85

Calls 2

dumpOpFunction · 0.85
dumpTensorFunction · 0.70

Tested by

no test coverage detected