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

Method __init__

diffsynth/models/stepvideo_dit.py:411–413  ·  view source on GitHub ↗
(self, freq=1e4, F0=1.0, scaling_factor=1.0)

Source from the content-addressed store, hash-verified

409
410class RoPE3D(RoPE1D):
411 def __init__(self, freq=1e4, F0=1.0, scaling_factor=1.0):
412 super(RoPE3D, self).__init__(freq, F0, scaling_factor)
413 self.position_cache = {}
414
415 def get_mesh_3d(self, rope_positions, bsz):
416 f, h, w = rope_positions

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected