MCPcopy Create free account
hub / github.com/Lightricks/ComfyUI-LTXVideo / ImageToCPU

Class ImageToCPU

utiltily_nodes.py:53–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51
52@comfy_node(description="Image to CPU")
53class ImageToCPU:
54 @classmethod
55 def INPUT_TYPES(cls):
56 return {
57 "required": {
58 "image": ("IMAGE",),
59 },
60 }
61
62 RETURN_TYPES = ("IMAGE",)
63 FUNCTION = "run"
64 CATEGORY = "utility"
65
66 def run(self, image):
67 return (image.cpu(),)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected