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

Function calc_out_

diffsynth/models/stepvideo_vae.py:115–116  ·  view source on GitHub ↗
(in_size, padding, dilation, kernel, stride)

Source from the content-addressed store, hash-verified

113
114
115def calc_out_(in_size, padding, dilation, kernel, stride):
116 return (in_size + 2 * padding - dilation * (kernel - 1) - 1) // stride + 1
117
118
119

Callers 1

cal_outsizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected