MCPcopy Create free account
hub / github.com/LeelaChessZero/lc0 / parse_tuple_format

Method parse_tuple_format

scripts/pybind/retval.py:103–108  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

101 }[self.type]
102
103 def parse_tuple_format(self):
104 return {
105 'i': 'i',
106 'u64': 'K',
107 'f32': 'f',
108 }[self.type]
109
110 def GenerateConversion(self, w):
111 w.Write(f'{self.py_val()} = Py_BuildValue('

Callers 2

GenerateConversionMethod · 0.95
GatherFormatStringMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected