| 100 | |
| 101 | |
| 102 | class PatchTypeModelWrapper(PatchTypeModel): |
| 103 | @classmethod |
| 104 | def _call(cls, patches, apply_model, opts): |
| 105 | if not patches: |
| 106 | return apply_model(opts["input"], opts["timestep"], **opts["c"]) |
| 107 | return patches[0](apply_model, opts) |
| 108 | |
| 109 | |
| 110 | class PatchTypeSamplerPostCfgFunction(PatchTypeModel): |
no outgoing calls
no test coverage detected