Struct Options::GraphOpt

Nested Relationships

This struct is a nested type of Struct ComputingGraph::Options.

Inheritance Relationships

Base Type

Struct Documentation

struct mgb::cg::ComputingGraph::Options::GraphOpt : public mgb::cg::GraphCommonOptimizeOptions

graph optimization options

Public Members

uint8_t jit = 0

whether to enable JIT; JIT would also be enabled at O3 this value indicates JIT level: 1 for basic elemwise opr; 2 for including reduce oprs

bool tensorrt = false

whether to enable fine-grained TensorRT opr replace