Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LeelaChessZero/lc0
/ functions
Functions
2,664 in github.com/LeelaChessZero/lc0
⨍
Functions
2,664
◇
Types & classes
523
↓ 2 callers
Function
LoadWeights
src/neural/loader.cc:213
↓ 2 callers
Method
LoadWeights0
src/neural/backends/cuda/layers.cc:1180
↓ 2 callers
Method
LoadWeights1
src/neural/backends/cuda/layers.cc:1207
↓ 2 callers
Method
LogPlusOne
src/neural/xla/hlo_builder.cc:360
↓ 2 callers
Method
LookupForwardFieldType
(self, object_stack)
scripts/compile_proto.py:191
↓ 2 callers
Method
MakeNotTerminal
src/search/classic/node.cc:319
↓ 2 callers
Function
MakePolicyMap
src/neural/onnx/converter.cc:802
↓ 2 callers
Method
MatrixMultiply
src/neural/backends/dx/shader_wrapper.cc:456
↓ 2 callers
Function
MoveAsPackedInt
src/neural/encoder.cc:588
↓ 2 callers
Method
NewComputation
src/neural/backends/network_tf_cc.cc:499
↓ 2 callers
Method
NewGame
src/engine.cc:228
↓ 2 callers
Method
NotifyComplete
src/neural/backends/network_demux.cc:73
↓ 2 callers
Method
NotifyReady
src/neural/backends/network_mux.cc:72
↓ 2 callers
Function
NumBits
src/neural/backends/network_trivial.cc:405
↓ 2 callers
Method
OnSearchDone
src/search/classic/stoppers/smooth.cc:629
↓ 2 callers
Function
OnnxShapeToHloTensorType
Converts an ONNX shape to an XLA shape, replacing the batch dimension with the provided batch size.
src/neural/xla/onnx2hlo.cc:392
↓ 2 callers
Function
OnnxTensorToHloTensorType
Type is not a field of the ONNX tensor, so this function extracts the shape and converts it (discarding the data).
src/neural/xla/onnx2hlo.cc:415
↓ 2 callers
Function
OnnxTensorToXlaLiteral
Converts an ONNX tensor to an XLA literal (which is a shape and a data).
src/neural/xla/onnx2hlo.cc:425
↓ 2 callers
Method
PerformConv
src/neural/backends/dx/layers_dx.cc:364
↓ 2 callers
Method
PerformGemm
src/neural/backends/dx/layers_dx.cc:246
↓ 2 callers
Function
PolicyMap
src/neural/backends/sycl/common_kernels.dp.cpp:1001
↓ 2 callers
Function
PopulateIntrinsicStoppers
Parameters needed for selfplay and uci, but not benchmark nor infinite mode.
src/search/classic/stoppers/common.cc:99
↓ 2 callers
Method
PopulateParams
src/chess/uciloop.cc:259
↓ 2 callers
Function
PrettyPrintHlo
src/neural/xla/print_hlo.cc:431
↓ 2 callers
Function
ProcessFileInternal
src/trainingdata/rescorer.cc:1129
↓ 2 callers
Function
ProcessFiles
src/trainingdata/rescorer.cc:1193
↓ 2 callers
Method
RaiseError
src/utils/optionsdict.cc:145
↓ 2 callers
Method
ReadChunk
src/trainingdata/reader.cc:130
↓ 2 callers
Function
ReadFixed
src/utils/protomessage.cc:30
↓ 2 callers
Function
ReadIdentifierPath
Reads qualified identifier a.b.d into ['a', 'b', 'd'] list
scripts/compile_proto.py:150
↓ 2 callers
Method
RegisterUciResponder
src/engine.cc:266
↓ 2 callers
Method
RunBlocking
src/selfplay/tournament.cc:593
↓ 2 callers
Function
Se_Fp16_NHWC
src/neural/backends/sycl/fp16_kernels.dp.cpp:139
↓ 2 callers
Method
Select
src/neural/xla/hlo_builder.cc:379
↓ 2 callers
Method
SendId
src/chess/uciloop.cc:274
↓ 2 callers
Method
Set
src/utils/optionsdict.h:344
↓ 2 callers
Method
SetLowNode
src/search/dag_classic/node.cc:423
↓ 2 callers
Method
SetNNEval
src/search/dag_classic/node.h:417
↓ 2 callers
Method
SetPosition
src/engine.cc:215
↓ 2 callers
Method
SetRepetition
src/search/dag_classic/node.h:314
↓ 2 callers
Method
ShouldStop
src/search/classic/stoppers/smooth.cc:584
↓ 2 callers
Function
ShowNetworkWeightsInfo
src/tools/describenet.cc:212
↓ 2 callers
Method
Sigmoid
src/neural/onnx/builder.cc:366
↓ 2 callers
Method
Slice
src/neural/xla/hlo_builder.cc:446
↓ 2 callers
Method
Softmax
src/neural/onnx/builder.cc:240
↓ 2 callers
Method
Split
src/neural/onnx/builder.cc:302
↓ 2 callers
Method
Sqrt
src/neural/xla/hlo_builder.cc:352
↓ 2 callers
Method
StartSearch
src/search/classic/wrapper.cc:111
↓ 2 callers
Method
StartThreads
src/search/classic/search.cc:894
↓ 2 callers
Function
SteadyClockToSystemClock
src/utils/logging.cc:96
↓ 2 callers
Function
StringsEqualIgnoreCase
src/utils/string.cc:93
↓ 2 callers
Method
Tanh
src/neural/onnx/builder.cc:234
↓ 2 callers
Method
Tanh
src/neural/xla/hlo_builder.cc:348
↓ 2 callers
Method
TestAndReset
src/utils/optionsdict.h:153
↓ 2 callers
Function
TransposeTensor
src/utils/transpose.h:41
↓ 2 callers
Method
TrimTreeAtHead
src/search/classic/node.cc:483
↓ 2 callers
Method
TryStartScoreUpdate
src/search/dag_classic/node.cc:321
↓ 2 callers
Method
TryStartScoreUpdate
src/search/classic/node.cc:348
↓ 2 callers
Method
Unindent
(self)
scripts/pybind/writer.py:36
↓ 2 callers
Method
Unpin
Unpins the element given key and value. Use of HashedKeyCacheLock is recommended to automate this pin management.
src/utils/cache.h:133
↓ 2 callers
Method
UpdateChildrenParents
src/search/classic/node.cc:394
↓ 2 callers
Method
UpdateEstimatedRemainingTimeMs
src/search/classic/stoppers/timemgr.cc:37
↓ 2 callers
Method
Wait
src/search/dag_classic/search.cc:1060
↓ 2 callers
Method
Wait
src/search/classic/search.cc:1056
↓ 2 callers
Method
Wait
src/selfplay/tournament.cc:609
↓ 2 callers
Method
WaitSearch
src/search/classic/wrapper.cc:64
↓ 2 callers
Method
WriteChunk
src/trainingdata/writer.cc:69
↓ 2 callers
Function
WriteFixed
src/utils/protomessage.cc:41
↓ 2 callers
Function
WriteStringToFile
src/utils/files.cc:62
↓ 2 callers
Function
XlaTypeToPjrtType
src/neural/backends/xla/xla_runner.cc:74
↓ 2 callers
Method
__init__
(self, name, *argv, cpp_name=None, disable
scripts/pybind/__init__.py:53
↓ 2 callers
Method
_generate_functions
(self, w)
scripts/pybind/__init__.py:37
↓ 2 callers
Method
_generate_params
(self)
scripts/pybind/functions.py:161
↓ 2 callers
Function
activationString
src/neural/backends/metal/network_metal.cc:63
↓ 2 callers
Function
calc_key_from_pcs
Produce a 64-bit material key corresponding to the material combination defined by pcs[16], where pcs[1], ..., pcs[6] are the number of white pawns, .
src/syzygy/syzygy.cc:449
↓ 2 callers
Method
capacity
src/utils/atomic_vector.h:65
↓ 2 callers
Method
cpp_type
(self)
scripts/pybind/retval.py:71
↓ 2 callers
Function
cpuTranspose
src/neural/backends/sycl/layers.cc.dp.cpp:158
↓ 2 callers
Function
cpuTranspose
src/neural/backends/cuda/layers.cc:428
↓ 2 callers
Method
destructor_name
(self)
scripts/pybind/__init__.py:127
↓ 2 callers
Function
from_le_u32
src/syzygy/syzygy.cc:699
↓ 2 callers
Method
function_list_name
(self)
scripts/pybind/__init__.py:130
↓ 2 callers
Method
function_meth_flags
(self)
scripts/pybind/functions.py:96
↓ 2 callers
Function
gaviota_tb_probe_hard
src/trainingdata/rescorer.cc:251
↓ 2 callers
Method
getMaxMatchSize
src/neural/backends/opencl/OpenCL.h:93
↓ 2 callers
Method
get_device_name
src/neural/backends/opencl/OpenCL.cc:401
↓ 2 callers
Method
has_mlh
src/neural/network.h:107
↓ 2 callers
Method
holds_value
Returns whether lock holds any value.
src/utils/cache.h:303
↓ 2 callers
Function
init_enc_info
src/syzygy/syzygy.cc:615
↓ 2 callers
Method
isNHWC
src/neural/backends/cuda/layers.h:55
↓ 2 callers
Method
is_castling
src/chess/types.h:170
↓ 2 callers
Method
is_null
TODO remove this once UciReponder starts using std::optional for ponder.
src/chess/types.h:173
↓ 2 callers
Method
is_pinned
src/chess/board.h:47
↓ 2 callers
Method
is_promotion
src/chess/types.h:166
↓ 2 callers
Function
matrixMul_gpu_serial_4x4x6
src/neural/backends/dx/shaders/WinogradCommon.h:122
↓ 2 callers
Function
matrixMul_gpu_serial_4x6x6
src/neural/backends/dx/shaders/WinogradCommon.h:107
↓ 2 callers
Method
max_single_move_time_fraction
Fraction of a total available move time that is allowed to use for a single move.
src/search/classic/stoppers/smooth.cc:71
↓ 2 callers
Method
max_tree_reuse
Do not allow tree reuse expectation to go above this value.
src/search/classic/stoppers/smooth.cc:52
↓ 2 callers
Method
min_smartpruning_timeuse
Do not allow timeuse estimation to fall below this.
src/search/classic/stoppers/smooth.cc:64
↓ 2 callers
Method
mutable_data
TODO replace with std::span once C++20 is available.
src/neural/xla/xla_tensor.h:118
← previous
next →
601–700 of 2,664, ranked by callers