MCPcopy
hub / github.com/Comfy-Org/ComfyUI / float

Method float

comfy/nested_tensor.py:51–52  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

49 return self.tensors[0].new_ones(*args, **kwargs)
50
51 def float(self):
52 return self.to(dtype=torch.float)
53
54 def chunk(self, *args, **kwargs):
55 return self.apply_operation(None, lambda x, y: x.chunk(*args, **kwargs))

Callers 15

loadMethod · 0.80
save_audioMethod · 0.80
save_toMethod · 0.80
_apply_modelMethod · 0.80
extra_condsMethod · 0.80
quantizeMethod · 0.80
encode_imageMethod · 0.80
set_sigmasMethod · 0.80
sigmaMethod · 0.80
sampleMethod · 0.80

Calls 1

toMethod · 0.95

Tested by

no test coverage detected