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

Method cuda

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

Source from the content-addressed store, hash-verified

311 return x
312
313 def cuda(self):
314 self.mean = self.mean.cuda()
315 self.std = self.std.cuda()
316
317 def cpu(self):
318 self.mean = self.mean.cpu()

Callers

nothing calls this directly

Calls 1

cudaMethod · 0.45

Tested by

no test coverage detected