• X
    Current scope needs to be thread-safe for training · d24f1f0a
    Xin Pan 提交于
    scope's API modifies its internal state. And scope's
    API can be called from multiple threads during traing.
    Hence, we need locks to protect the scope's internal
    states.
    
    We can optimize it in the future. But the current
    solution is buggy.
    
    test=develop
    d24f1f0a
scope.cc 5.7 KB