MCPcopy 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
849class ModuleAttributePrecedenceBase(torch.nn.Module):
850 def linear(self, x):
851 return x * 2.0
852
853
854class ModuleAttributePrecedence(ModuleAttributePrecedenceBase):

Callers 15

innerFunction · 0.45
one_layer_rnnFunction · 0.45
lstm_cellFunction · 0.45
one_layer_lstmFunction · 0.45
one_layer_lstm_dataFunction · 0.45
gru_cellFunction · 0.45
gru_cell_dataFunction · 0.45
forwardMethod · 0.45
linear_opFunction · 0.45
forwardMethod · 0.45
linearFunction · 0.45
forwardMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected