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_zero.py:135–138 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
133
134
class
MixedLinear(flow.nn.Module):
135
def
__init__(self):
136
super().__init__()
137
self.dp_mp = linear_dp_mp
138
self.mp_dp = linear_mp_dp
139
140
def
forward(self, x):
141
x = self.dp_mp(x)
Callers
4
__init__
Method · 0.45
__init__
Method · 0.45
__init__
Method · 0.45
__init__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected