MCPcopy Create free account
hub / github.com/CandleLabAI/PCBSegClassNet / resblock

Function resblock

src/models/edsr.py:59–66  ·  view source on GitHub ↗

residual convolution block

(inputs)

Source from the content-addressed store, hash-verified

57
58# Residual Block
59def resblock(inputs):
60 """
61 residual convolution block
62 """
63 out = layers.Conv2D(64, 3, padding="same", activation="relu")(inputs)
64 out = layers.Conv2D(64, 3, padding="same")(out)
65 out = layers.Add()([inputs, out])
66 return out
67
68# Upsampling Block
69def upsampling(inputs, factor=2, **kwargs):

Callers 1

get_edsr_modelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected