Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/tensorpack/tensorpack
/ DynamicLazyAxis
Function
DynamicLazyAxis
tensorpack/models/shape_utils.py:25–26 ·
view source on GitHub ↗
(shape, idx)
Source
from the content-addressed store, hash-verified
23
24
25
def
DynamicLazyAxis(shape, idx):
26
return
lambda
: shape[idx]
27
28
29
def
StaticLazyAxis(dim):
Callers
1
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected