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
↓ 468 callers
Method
size
src/neural/xla/xla_tensor.h:119
↓ 325 callers
Method
data
src/neural/xla/xla_tensor.h:116
↓ 263 callers
Method
size
src/utils/smallarray.h:43
↓ 236 callers
Method
emplace_back
src/utils/atomic_vector.h:47
↓ 211 callers
Method
get
Gets value of a square.
src/chess/bitboard.h:98
↓ 166 callers
Method
empty
Returns whether all bits of a board are set to 0.
src/chess/bitboard.h:101
↓ 108 callers
Method
end
src/chess/bitboard.h:117
↓ 102 callers
Method
Write
(self, text)
scripts/compile_proto.py:869
↓ 97 callers
Method
as_vector
src/utils/weights_adapter.cc:42
↓ 96 callers
Method
Write
(self, text)
scripts/pybind/writer.py:39
↓ 91 callers
Method
begin
src/chess/bitboard.h:116
↓ 86 callers
Method
Append
src/chess/position.cc:105
↓ 73 callers
Method
ParseMove
src/chess/board.cc:1150
↓ 71 callers
Function
copyTypeConverted
src/neural/backends/sycl/common_kernels.dp.cpp:500
↓ 61 callers
Method
file
src/chess/types.h:115
↓ 57 callers
Method
SetFromFen
src/chess/board.cc:977
↓ 56 callers
Method
GetN
src/search/classic/node.h:163
↓ 56 callers
Method
as_int
src/chess/bitboard.h:51
↓ 55 callers
Method
count
Counts the number of set bits in the BitBoard.
src/chess/bitboard.h:55
↓ 53 callers
Function
Justify
src/tools/describenet.cc:49
↓ 49 callers
Method
node
src/search/classic/node.h:372
↓ 46 callers
Method
Eval
src/neural/backends/cuda/layers.cc:254
↓ 44 callers
Method
GetN
src/search/dag_classic/node.h:215
↓ 44 callers
Method
clear
src/chess/bitboard.h:52
↓ 44 callers
Method
end
src/search/classic/node.h:465
↓ 42 callers
Method
begin
Function to support range interface.
src/search/classic/node.h:464
↓ 41 callers
Method
as_idx
src/chess/types.h:124
↓ 38 callers
Method
ours
src/chess/board.h:211
↓ 36 callers
Method
Add
src/neural/onnx/builder.cc:156
↓ 36 callers
Method
AddInitializer
src/neural/onnx/builder.cc:116
↓ 35 callers
Method
ToString
src/chess/types.h:231
↓ 34 callers
Function
PopulateStdNodeFields
src/neural/onnx/builder.cc:129
↓ 33 callers
Method
Consume
Gets the token from the queue and advances the queue. If @expected_token if of wrong type, or @value is not equal to regexes @group,
scripts/compile_proto.py:100
↓ 33 callers
Function
DataAssert
src/trainingdata/rescorer.cc:123
↓ 33 callers
Method
Reshape
src/neural/onnx/builder.cc:248
↓ 32 callers
Method
LoadWeights
src/neural/backends/cuda/layers.cc:209
↓ 32 callers
Method
Reset
src/chess/position.cc:94
↓ 31 callers
Method
GetM
src/search/dag_classic/node.h:227
↓ 31 callers
Method
theirs
src/chess/board.h:212
↓ 30 callers
Method
MatMul
src/neural/onnx/builder.cc:210
↓ 30 callers
Method
rank
src/chess/types.h:116
↓ 30 callers
Method
reset
Sets value of given square to 0.
src/chess/bitboard.h:96
↓ 29 callers
Method
Mirror
src/chess/board.cc:57
↓ 28 callers
Method
GetM
src/search/classic/node.h:173
↓ 28 callers
Function
ceilMultiple
src/neural/backends/opencl/OpenCL.h:50
↓ 27 callers
Method
AddMethod
(self, name, cpp_name=None, *argv, **kwargs)
scripts/pybind/__init__.py:97
↓ 27 callers
Method
GetMove
src/search/classic/node.cc:124
↓ 27 callers
Method
IsTerminal
Returns whether the node is known to be draw/lose/win.
src/search/dag_classic/node.h:230
↓ 27 callers
Function
TestValidExpectation
src/syzygy/syzygy_test.cc:79
↓ 27 callers
Method
what
src/neural/backends/xla/pjrt.h:103
↓ 26 callers
Method
AddRetVal
(self, val)
scripts/pybind/functions.py:62
↓ 26 callers
Function
FP32toFP16
src/utils/fp16_utils.h:45
↓ 26 callers
Method
IsTerminal
Returns whether the node is known to be draw/lose/win.
src/search/classic/node.h:176
↓ 25 callers
Method
Flip
src/chess/types.h:90
↓ 25 callers
Method
IsBlackToMove
src/search/classic/node.h:655
↓ 24 callers
Method
GenerateLegalMoves
src/chess/board.cc:959
↓ 24 callers
Method
GetRule50Ply
Number of ply with no captures and pawn moves.
src/chess/position.h:68
↓ 24 callers
Method
GetWL
Returns node eval, i.e. average subtree V for non-terminal node and -1/0/1 for terminal nodes.
src/search/dag_classic/node.h:225
↓ 24 callers
Function
Perft
src/chess/board_test.cc:71
↓ 23 callers
Function
DivUp
src/neural/backends/sycl/sycl_common.h:60
↓ 22 callers
Method
GetParent
Gets parent node.
src/search/classic/node.h:156
↓ 22 callers
Method
HasMatingMaterial
src/chess/board.cc:1121
↓ 22 callers
Function
addVectors
src/neural/backends/sycl/common_kernels.dp.cpp:66
↓ 21 callers
Method
AddDimension
src/neural/xla/hlo_builder.h:83
↓ 21 callers
Method
Edges
src/search/classic/node.cc:212
↓ 21 callers
Method
Eval
src/neural/backends/sycl/layers.cc.dp.cpp:222
↓ 21 callers
Function
MakeConst
src/neural/backends/network_tf_cc.cc:53
↓ 21 callers
Method
ToProto
src/neural/xla/hlo_builder.cc:51
↓ 20 callers
Method
CreateAlloc
src/neural/backends/dx/network_dx.cc:236
↓ 20 callers
Method
GetD
src/search/dag_classic/node.h:226
↓ 20 callers
Method
GetQ
src/search/classic/node.h:168
↓ 20 callers
Method
SetUciOption
src/utils/optionsparser.cc:63
↓ 20 callers
Method
cpp_val
(self)
scripts/pybind/retval.py:28
↓ 20 callers
Method
end
src/utils/bititer.h:117
↓ 20 callers
Method
end
src/search/dag_classic/node.h:673
↓ 20 callers
Method
py_val
(self)
scripts/pybind/retval.py:31
↓ 20 callers
Method
set
Sets value of given square to 1.
src/chess/bitboard.h:94
↓ 19 callers
Method
Close
(self, text='}')
scripts/pybind/writer.py:50
↓ 19 callers
Function
EncodePositionForNN
src/neural/encoder.cc:134
↓ 19 callers
Method
GetLength
Number of positions in history.
src/chess/position.h:129
↓ 19 callers
Method
GetMove
src/search/dag_classic/node.cc:50
↓ 19 callers
Method
GetWL
Returns node eval, i.e. average subtree V for non-terminal node and -1/0/1 for terminal nodes.
src/search/classic/node.h:171
↓ 19 callers
Function
HashCat
Appends value to a hash.
src/utils/hashcat.h:41
↓ 19 callers
Method
Open
(self, text='{')
scripts/pybind/writer.py:46
↓ 19 callers
Method
ScheduleUpload
src/neural/backends/dx/network_dx.cc:340
↓ 18 callers
Method
GetDimension
src/neural/xla/hlo_builder.h:85
↓ 18 callers
Method
GetQ
src/search/dag_classic/node.h:222
↓ 18 callers
Method
Rank
src/neural/xla/hlo_builder.h:90
↓ 18 callers
Function
activate
src/neural/backends/sycl/winograd_helper.h:38
↓ 17 callers
Method
UavBarrier
src/neural/backends/dx/network_dx.cc:81
↓ 16 callers
Method
Eval
src/neural/backends/onednn/layers.cc:71
↓ 16 callers
Method
GetC
src/neural/backends/sycl/layers.h:43
↓ 16 callers
Method
GetC
src/neural/backends/cuda/layers.h:52
↓ 16 callers
Function
InputTransform4x4
src/neural/backends/sycl/winograd_helper.h:105
↓ 16 callers
Method
flipped
src/chess/board.h:226
↓ 15 callers
Method
Constant
src/neural/xla/hlo_builder.cc:125
↓ 15 callers
Method
Edges
src/search/dag_classic/node.h:744
↓ 15 callers
Method
GetD
src/search/classic/node.h:172
↓ 15 callers
Method
LoadWeights
src/neural/backends/onednn/layers.cc:57
↓ 15 callers
Function
MoveToNNIndex
src/neural/encoder.cc:611
next →
1–100 of 2,664, ranked by callers