MCPcopy
hub / github.com/HIT-SCIR/ltp / double

Method double

python/interface/ltp/module.py:53–55  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

51 return super().float()
52
53 def double(self) -> Module:
54 self.__update_properties(dtype=torch.double)
55 return super().double()
56
57 def half(self) -> Module:
58 self.__update_properties(dtype=torch.half)

Callers

nothing calls this directly

Calls 1

__update_propertiesMethod · 0.95

Tested by

no test coverage detected