Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Oneflow-Inc/oneflow
/ __init__
Method
__init__
python/oneflow/test/graph/test_graph.py:286–287 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
284
def
test_graph_in_subthread(test_case):
285
class
TinyGraph(flow.nn.Graph):
286
def
__init__(self):
287
super().__init__()
288
289
def
build(self, input):
290
return
input + 1
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected