Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/pytorch
/ get_layer_class
Function
get_layer_class
caffe2/python/layers/layers.py:149–150 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
147
148
149
def
get_layer_class(name):
150
return
_LAYER_REGISTRY[name]
151
152
153
def
create_layer(layer_name, *args, **kwargs):
Callers
1
__init__
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…