TNN
TNN copied to clipboard
怎么知道layer 333是对应的那个算子的呢
我的模型结构就这么简单,也遇到了类似报错:

E/tnn: std::shared_ptr<const ImplementedLayout> tnn::optimizer::NetOptimizerInsertLayoutReformat::GetLayoutsByLayerType(tnn::LayerType) [File source/tnn/optimizer/net_optimizer_insert_layout_reformat.cc][Line 126] NetOptimizerInsertLayoutReformat Error: empty adaptor device layouts of 333
E/tnn: virtual tnn::Status tnn::optimizer::NetOptimizerInsertLayoutReformat::Optimize(tnn::NetStructure *, tnn::NetResource *) [File source/tnn/optimizer/net_optimizer_insert_layout_reformat.cc][Line 246] NetOptimizerInsertLayoutReformat Error: empty implemented_layouts of layer 333
经查,layer 333是LAYER_GREATER = 333,我的设备是DEVICE_ARM
Originally posted by @wwdok in https://github.com/Tencent/TNN/issues/1122#issuecomment-1322908477