megenginelite-sys 1.8.2

A safe megenginelite wrapper in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "megbrain/imperative/transformation.h"
#include "megbrain/imperative/utils/stats.h"

namespace mgb {
namespace imperative {

TransformationContext& Transformation::get_context() {
    thread_local TransformationContext tl_context;
    return tl_context;
}

}  // namespace imperative
}  // namespace mgb