MCPcopy Create free account
hub / github.com/BorealisAI/scaleformer / cuda

Method cuda

layers/utils.py:339–341  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

337 return x
338
339 def cuda(self):
340 self.mean = self.mean.cuda()
341 self.std = self.std.cuda()
342
343 def cpu(self):
344 self.mean = self.mean.cpu()

Callers 2

cudaMethod · 0.45
forwardMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected