Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AtlasAnalyticsLab/AdaFisher
/ try_contiguous
Function
try_contiguous
optimizers/kfac_utils.py:6–10 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
4
5
6
def
try_contiguous(x):
7
if
not x.is_contiguous():
8
x = x.contiguous()
9
10
return
x
11
12
13
def
_extract_patches(x, kernel_size, stride, padding):
Callers
2
conv2d
Method · 0.70
conv2d
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected