MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / __init__

Method __init__

diffusers/src/diffusers/models/vq_model.py:19–22  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

17
18class VQEncoderOutput(VQEncoderOutput):
19 def __init__(self, *args, **kwargs):
20 deprecation_message = "Importing `VQEncoderOutput` from `diffusers.models.vq_model` is deprecated and this will be removed in a future version. Please use `from diffusers.models.autoencoders.vq_model import VQEncoderOutput`, instead."
21 deprecate("VQEncoderOutput", "0.31", deprecation_message)
22 super().__init__(*args, **kwargs)
23
24
25class VQModel(VQModel):

Callers

nothing calls this directly

Calls 2

deprecateFunction · 0.85
__init__Method · 0.45

Tested by

no test coverage detected