transformation.cpp 268 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
#include "megbrain/imperative/transformation.h"

namespace mgb {
namespace imperative {

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

}  // namespace imperative
}  // namespace mgb