Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/eriklindernoren/PyTorch-GAN
/ unit.py
File
unit.py
implementations/unit/unit.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
argparse
2
import
os
3
import
numpy
as
np
4
import
math
Callers
nothing calls this directly
Calls
9
compute_kl
Function · 0.85
ResidualBlock
Class · 0.70
Encoder
Class · 0.70
Generator
Class · 0.70
Discriminator
Class · 0.70
LambdaLR
Class · 0.70
ImageDataset
Class · 0.70
sample_images
Function · 0.70
step
Method · 0.45
Tested by
no test coverage detected