Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/pytorch
/ linear
Method
linear
test/dynamo/test_modules.py:850–851 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
848
849
class
ModuleAttributePrecedenceBase(torch.nn.Module):
850
def
linear(self, x):
851
return
x * 2.0
852
853
854
class
ModuleAttributePrecedence(ModuleAttributePrecedenceBase):
Callers
15
inner
Function · 0.45
one_layer_rnn
Function · 0.45
lstm_cell
Function · 0.45
one_layer_lstm
Function · 0.45
one_layer_lstm_data
Function · 0.45
gru_cell
Function · 0.45
gru_cell_data
Function · 0.45
forward
Method · 0.45
linear_op
Function · 0.45
forward
Method · 0.45
linear
Function · 0.45
forward
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected