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
↓ 15 callers
Method
Mul
src/neural/onnx/builder.cc:194
↓ 15 callers
Function
PlanesFromTrainingData
src/trainingdata/reader.cc:32
↓ 15 callers
Function
Print
src/utils/histogram.cc:39
↓ 15 callers
Function
SingleSquare
src/neural/decoder.cc:36
↓ 15 callers
Method
en_passant
src/chess/board.h:214
↓ 15 callers
Method
max_cardinality
Current maximum number of pieces on board that can be probed for. Will be 0 unless initialized with tablebase paths. Thread safe.
src/syzygy/syzygy.h:68
↓ 14 callers
Method
AddStopper
src/search/classic/stoppers/stoppers.cc:47
↓ 14 callers
Method
Broadcast
src/neural/xla/hlo_builder.cc:157
↓ 14 callers
Function
DotProduct
src/neural/backends/network_trivial.cc:399
↓ 14 callers
Function
GetDataType
src/tools/onnx2leela.cc:299
↓ 14 callers
Method
GetPositions
src/chess/gamestate.cc:41
↓ 14 callers
Method
Indent
(self)
scripts/compile_proto.py:863
↓ 14 callers
Method
IsValid
src/chess/board.cc:577
↓ 14 callers
Method
LoadWeights
src/neural/backends/dx/layers_dx.cc:457
↓ 14 callers
Method
Unindent
(self)
scripts/compile_proto.py:866
↓ 14 callers
Method
begin
Function to support range interface.
src/search/dag_classic/node.h:672
↓ 14 callers
Method
object_struct_name
(self)
scripts/pybind/__init__.py:118
↓ 13 callers
Method
IsBlackToMove
src/chess/position.h:49
↓ 13 callers
Method
LoadWeights
src/neural/backends/sycl/layers.cc.dp.cpp:131
↓ 13 callers
Method
begin
src/utils/bititer.h:116
↓ 13 callers
Method
type
src/neural/xla/xla_tensor.h:121
↓ 12 callers
Method
ApplyMove
src/chess/board.cc:596
↓ 12 callers
Method
DumpTensor
src/neural/backends/dx/network_dx.cc:137
↓ 12 callers
Method
GetWDLRescaleDiff
src/search/classic/params.h:126
↓ 12 callers
Function
IsCanonicalFormat
src/neural/encoder.cc:105
↓ 12 callers
Method
IsMessage
(self)
scripts/compile_proto.py:249
↓ 12 callers
Method
OutputThinkingInfo
src/chess/uciloop.cc:290
↓ 12 callers
Function
PopulateBoard
src/neural/decoder.cc:58
↓ 12 callers
Function
ResultForData
src/trainingdata/rescorer.cc:427
↓ 12 callers
Function
ReverseBytesInBytes
src/utils/bititer.h:73
↓ 12 callers
Method
no_legal_castle
src/chess/board.h:146
↓ 12 callers
Method
pawns
src/chess/board.h:213
↓ 11 callers
Method
AddEx
(self, ex)
scripts/pybind/functions.py:68
↓ 11 callers
Method
AddInput
src/neural/onnx/builder.cc:104
↓ 11 callers
Method
AddParameter
(self, *params)
scripts/pybind/functions.py:56
↓ 11 callers
Function
DivUp
src/neural/backends/dx/dx_common.h:73
↓ 11 callers
Method
GetCurrentHead
src/search/classic/node.h:656
↓ 11 callers
Method
GetGamePly
Number of half-moves since beginning of the game.
src/chess/position.h:52
↓ 11 callers
Method
GetToken
src/utils/optionsdict.cc:151
↓ 11 callers
Method
IsBlackToMove
src/search/dag_classic/node.h:842
↓ 11 callers
Function
WLDMInvariantsHold
src/search/dag_classic/node.cc:603
↓ 11 callers
Method
kings
src/chess/board.h:222
↓ 11 callers
Method
node
src/search/dag_classic/node.h:579
↓ 11 callers
Method
set_value
src/neural/backends/xla/pjrt.h:126
↓ 10 callers
Method
Cast
src/neural/onnx/builder.cc:462
↓ 10 callers
Method
ComputeBlocking
src/neural/backends/network_mux.cc:236
↓ 10 callers
Method
GetElementType
src/neural/xla/hlo_builder.h:82
↓ 10 callers
Function
GetOrEmpty
src/chess/uciloop.cc:133
↓ 10 callers
Method
GetP
src/search/dag_classic/node.cc:96
↓ 10 callers
Method
IsCollision
src/search/classic/search.h:307
↓ 10 callers
Method
MakeTerminal
src/search/dag_classic/node.cc:202
↓ 10 callers
Method
MakeTerminal
src/search/classic/node.cc:300
↓ 10 callers
Method
Multiply
src/neural/xla/hlo_builder.cc:218
↓ 10 callers
Method
Pick
Picks the last token in queue. Doesn't advance the queue.
scripts/compile_proto.py:94
↓ 10 callers
Method
SetAll
src/neural/network.h:45
↓ 10 callers
Function
WinogradFilterTransformF
src/neural/backends/shared/winograd_filter.cc:54
↓ 10 callers
Function
addBiasBatched
src/neural/backends/sycl/common_kernels.dp.cpp:168
↓ 10 callers
Method
intersects
Checks whether two bitboards have common bits set.
src/chess/bitboard.h:104
↓ 10 callers
Method
long_flag
src/utils/optionsdict.h:135
↓ 9 callers
Function
AddIntsAttribute
src/neural/onnx/builder.cc:94
↓ 9 callers
Function
CopyFloatToHalf
src/neural/backends/dx/layers_dx.cc:46
↓ 9 callers
Method
Create
src/neural/wrapper.cc:179
↓ 9 callers
Method
Error
Throws an error with context in the file read.
scripts/compile_proto.py:136
↓ 9 callers
Method
GetFullName
(self)
scripts/compile_proto.py:495
↓ 9 callers
Method
GetRepetitions
How many time the same position appeared in the game before.
src/chess/position.h:55
↓ 9 callers
Method
IsCollision
src/search/dag_classic/search.h:314
↓ 9 callers
Method
IsTbTerminal
src/search/dag_classic/node.h:231
↓ 9 callers
Method
IsTbTerminal
src/search/classic/node.h:177
↓ 9 callers
Method
IsUnderCheck
Checks if "our" (white) king is under check.
src/chess/board.h:97
↓ 9 callers
Method
Pop
Pops last move from history.
src/chess/position.h:139
↓ 9 callers
Function
ReverseBitsInBytes
src/utils/bititer.h:66
↓ 9 callers
Function
SpinloopPause
src/utils/mutex.h:127
↓ 9 callers
Function
StrSplit
src/utils/string.cc:55
↓ 9 callers
Method
Transpose
src/neural/onnx/builder.cc:257
↓ 9 callers
Method
UsedBatchSize
src/neural/memcache.cc:109
↓ 9 callers
Method
bishops
src/chess/board.h:215
↓ 9 callers
Function
convertNCHWtoNHWC
src/neural/backends/sycl/common_kernels.dp.cpp:472
↓ 9 callers
Method
init
src/syzygy/syzygy.cc:1476
↓ 9 callers
Method
queens
src/chess/board.h:217
↓ 9 callers
Method
raw_data
src/chess/types.h:175
↓ 9 callers
Method
rooks
src/chess/board.h:216
↓ 8 callers
Method
Add
src/neural/xla/hlo_builder.cc:210
↓ 8 callers
Function
AddIntAttribute
src/neural/onnx/builder.cc:78
↓ 8 callers
Method
DidRepeatSinceLastZeroingMove
src/chess/position.cc:132
↓ 8 callers
Method
GetFullName
(self)
scripts/compile_proto.py:617
↓ 8 callers
Method
GetH
src/neural/backends/sycl/layers.h:44
↓ 8 callers
Method
GetH
src/neural/backends/cuda/layers.h:53
↓ 8 callers
Function
GetLowestBit
src/utils/bititer.h:37
↓ 8 callers
Method
GetMaxConcurrentSearchers
src/search/classic/params.h:115
↓ 8 callers
Method
GetNInFlight
src/search/classic/node.h:164
↓ 8 callers
Method
GetNpsLimit
src/search/classic/params.h:132
↓ 8 callers
Method
GetP
src/search/classic/node.cc:170
↓ 8 callers
Method
GetW
src/neural/backends/sycl/layers.h:45
↓ 8 callers
Method
GetW
src/neural/backends/cuda/layers.h:54
↓ 8 callers
Method
GetWDLRescaleRatio
src/search/classic/params.h:125
↓ 8 callers
Method
IsAvailable
src/neural/backends/dx/layers_dx.h:102
↓ 8 callers
Function
MakeConvBlock
src/neural/backends/network_tf_cc.cc:124
↓ 8 callers
Function
OldPosition
src/neural/decoder.cc:50
↓ 8 callers
Method
ProcessAllFlags
src/utils/optionsparser.cc:116
↓ 8 callers
Method
Reshape
src/neural/xla/xla_tensor.cc:75
← previous
next →
101–200 of 2,664, ranked by callers