MCPcopy Create free account
hub / github.com/OpenImagingLab/FlashVSR / build_layer

Method build_layer

diffsynth/models/kolors_text_encoder.py:850–851  ·  view source on GitHub ↗
(layer_number)

Source from the content-addressed store, hash-verified

848
849 # Transformer layers.
850 def build_layer(layer_number):
851 return GLMBlock(config, layer_number, device=device)
852
853 self.layers = torch.nn.ModuleList([build_layer(i + 1) for i in range(self.num_layers)])
854

Callers

nothing calls this directly

Calls 1

GLMBlockClass · 0.85

Tested by

no test coverage detected