in src/runtime/model.cc [2029:2095]
std::string FFModel::get_operator_type_name(OperatorType type) const
{
switch(type) {
case OP_CONV2D: return "Conv2D";
case OP_DROPOUT: return "Dropout";
case OP_LINEAR: return "Dense";
case OP_BATCHMATMUL: return "BatchMatMul";
case OP_POOL2D: return "Pool2D";
case OP_RELU: return "ReLU";
case OP_SIGMOID: return "Sigmoid";
case OP_TANH: return "Tanh";
case OP_ELU: return "Elu";
case OP_FLAT: return "Flat";
case OP_SOFTMAX: return "Softmax";
case OP_BATCHNORM: return "BatchNorm";
case OP_CONCAT: return "Concat";
case OP_SPLIT: return "Split";
case OP_EMBEDDING: return "Embedding";
case OP_GROUP_BY: return "Group_by";
case OP_CACHE: return "Cache";
case OP_AGGREGATE: return "Aggregate cooperation";
case OP_AGG_SPEC: return "Aggregate specification";
case OP_RESHAPE: return "Reshape";
case OP_REVERSE: return "Reverse";
case OP_TRANSPOSE: return "Transpose";
case OP_EW_ADD: return "Add";
case OP_EW_MUL: return "Mul";
case OP_MATMUL: return "Matmul";
case OP_MUL: return "Mul";
case OP_ENLARGE: return "Enlarge";
case OP_SQUEEZE: return "Squeeze";
case OP_UNSQUEEZE: return "Unsqueeze";
case OP_EW_SUB: return "Sub";
case OP_EW_DIV: return "Div";
case OP_EW_EQUAL: return "Equal";
case OP_EW_GREATER: return "Greater";
case OP_EW_LESS: return "Less";
case OP_EW_MAX: return "Max";
case OP_EW_MIN: return "Min";
case OP_REDUCE_ARGMAX: return "ReduceArgMax";
case OP_REDUCE_ARGMIN: return "ReduceArgMin";
case OP_REDUCE_MAX: return "ReduceMax";
case OP_REDUCE_MEAN: return "ReduceMean";
case OP_REDUCE_MIN: return "ReduceMin";
case OP_REDUCE_PROD: return "ReduceProd";
case OP_REDUCE_SUM: return "ReduceSum";
case OP_PAD: return "Pad";
case OP_SHAPE: return "Shape";
case OP_SIZE: return "Size";
case OP_TOPK: return "TopK";
case OP_WHERE: return "Where";
case OP_CEIL: return "Ceil";
case OP_CAST: return "Cast";
case OP_EXP: return "Exp";
case OP_ROUND: return "Round";
case OP_LOG: return "Log";
case OP_LOGICAL_NOT: return "LogicalNot";
case OP_SQRT: return "Sqrt";
case OP_LEAKYRELU: return "LeakyReLU";
case OP_SLICE: return "Slice";
case OP_RESIZE: return "Resize";
case OP_PRELU: return "PReLU";
case OP_MULTIHEAD_ATTENTION: return "MultiHeadAttention";
case OP_FUSED: return "FusedOp";
default: assert(false && "Not supported Operator type"); return "Unsupported";
}
}