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

Function count_conv3d

diffsynth/models/wan_video_vae.py:485–490  ·  view source on GitHub ↗
(model)

Source from the content-addressed store, hash-verified

483
484
485def count_conv3d(model):
486 count = 0
487 for m in model.modules():
488 if check_is_instance(m, CausalConv3d):
489 count += 1
490 return count
491
492
493class VideoVAE_(nn.Module):

Callers 1

clear_cacheMethod · 0.85

Calls 1

check_is_instanceFunction · 0.85

Tested by

no test coverage detected