MNN  1.0
Public 类型 | Public 属性 | 所有成员列表
MNN::ScheduleConfig::Path结构体 参考

#include <Interpreter.hpp>

Public 类型

enum  Mode { Op = 0, Tensor = 1 }
 

Public 属性

std::vector< std::string > inputs
 
std::vector< std::string > outputs
 
Mode mode = Op
 

详细描述

subpath to run

成员枚举类型说明

◆ Mode

枚举值
Op 

Op Mode

  • inputs means the source op, can NOT be empty.
  • outputs means the sink op, can be empty. The path will start from source op, then flow when encounter the sink op. The sink op will not be compute in this path.
Tensor 

Tensor Mode (NOT supported yet)

  • inputs means the inputs tensors, can NOT be empty.
  • outputs means the outputs tensors, can NOT be empty. It will find the pipeline that compute outputs from inputs.

类成员变量说明

◆ inputs

std::vector<std::string> MNN::ScheduleConfig::Path::inputs

◆ mode

Mode MNN::ScheduleConfig::Path::mode = Op

running mode

◆ outputs

std::vector<std::string> MNN::ScheduleConfig::Path::outputs

该结构体的文档由以下文件生成: