MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / ~OneFlowEnv

Method ~OneFlowEnv

oneflow/api/cpp/env_impl.cpp:131–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131OneFlowEnv::~OneFlowEnv() {
132 session_ctx_.reset();
133 CHECK(of::ClearSessionId(CHECK_JUST(of::GetDefaultSessionId())));
134 env_ctx_.reset();
135}
136
137} // namespace oneflow_api

Callers

nothing calls this directly

Calls 3

ClearSessionIdFunction · 0.85
GetDefaultSessionIdFunction · 0.85
resetMethod · 0.45

Tested by

no test coverage detected