MCPcopy Index your code
hub / github.com/hojonathanho/diffusion / normalize

Function normalize

diffusion_tf/models/unet.py:11–12  ·  view source on GitHub ↗
(x, *, temb, name)

Source from the content-addressed store, hash-verified

9
10
11def normalize(x, *, temb, name):
12 return tf_contrib.layers.group_norm(x, scope=name)
13
14
15def upsample(x, *, name, with_conv):

Callers 3

resnet_blockFunction · 0.85
attn_blockFunction · 0.85
modelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected