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
↓ 3 callers
Method
GetDrawScore
Root is depth 0, i.e. even depth.
src/search/classic/search.cc:421
↓ 3 callers
Method
GetEdgeToNode
src/search/classic/node.cc:225
↓ 3 callers
Method
GetEstimatedRemainingTimeMs
src/search/classic/stoppers/timemgr.cc:40
↓ 3 callers
Function
GetFileList
src/utils/filesystem.posix.cc:44
↓ 3 callers
Function
GetGemmTensorDesc
src/neural/backends/dx/layers_dx.cc:116
↓ 3 callers
Method
GetInt
src/utils/random.cc:40
↓ 3 callers
Method
GetMUtility
Calculates the utility for favoring shorter wins and longer losses.
src/search/dag_classic/search.cc:110
↓ 3 callers
Method
GetMUtility
Calculates the utility for favoring shorter wins and longer losses.
src/search/classic/search.cc:110
↓ 3 callers
Method
GetMoves
src/selfplay/game.cc:309
↓ 3 callers
Method
GetName
src/neural/wrapper.h:47
↓ 3 callers
Method
GetName
(self)
scripts/compile_proto.py:492
↓ 3 callers
Method
GetPliesSincePrevRepetition
How many half-moves since the same position appeared in the game before.
src/chess/position.h:58
↓ 3 callers
Method
GetSearchNames
src/search/register.cc:43
↓ 3 callers
Method
GetStickyEndgames
src/search/classic/params.h:99
↓ 3 callers
Method
GetType
(self)
scripts/compile_proto.py:498
↓ 3 callers
Method
GetU
Returns U = numerator * p / N. Passed numerator is expected to be equal to (cpuct * sqrt(N[parent])).
src/search/dag_classic/node.h:617
↓ 3 callers
Method
GetUciOption
src/utils/optionsparser.h:53
↓ 3 callers
Method
GetVariableCppType
(self)
scripts/compile_proto.py:208
↓ 3 callers
Method
HasChildren
src/search/dag_classic/node.cc:148
↓ 3 callers
Method
HasChildren
Returns whether a node has children.
src/search/classic/node.h:159
↓ 3 callers
Method
IncrementNInFlight
src/search/dag_classic/node.cc:384
↓ 3 callers
Method
IncrementNInFlight
When search decides to treat one visit as several (in case of collisions or visiting terminal nodes several times), it amplifies the visit by incremen
src/search/classic/node.h:219
↓ 3 callers
Method
Index
Index in parent's edges - useful for correlated ordering.
src/search/dag_classic/node.h:312
↓ 3 callers
Function
IsHectopliesFormat
src/neural/encoder.cc:117
↓ 3 callers
Function
LiteralOutInInOp
src/neural/xla/onnx2hlo.cc:124
↓ 3 callers
Function
LiteralOutInOp
src/neural/xla/onnx2hlo.cc:115
↓ 3 callers
Method
Maximum
src/neural/xla/hlo_builder.cc:226
↓ 3 callers
Method
OutputBestMove
src/chess/callbacks.h:187
↓ 3 callers
Method
OutputThinkingInfo
src/chess/callbacks.h:188
↓ 3 callers
Method
Play
src/selfplay/game.cc:131
↓ 3 callers
Function
PopulateTimeManagementOptions
src/search/classic/stoppers/factory.cc:68
↓ 3 callers
Function
PositionToFen
src/chess/position.cc:151
↓ 3 callers
Function
PrintAligned
src/utils/histogram.cc:41
↓ 3 callers
Function
RELEASE
src/utils/mutex.h:56
↓ 3 callers
Function
REQUIRES
src/search/classic/search.cc:260
↓ 3 callers
Function
ReadVarInt
src/utils/protomessage.cc:10
↓ 3 callers
Method
ReduceMean
src/neural/onnx/builder.cc:470
↓ 3 callers
Method
Relu
src/neural/onnx/builder.cc:228
↓ 3 callers
Method
ResolveForwardDeclarations
(self, _)
scripts/compile_proto.py:504
↓ 3 callers
Method
SetBounds
src/search/dag_classic/node.cc:255
↓ 3 callers
Method
SetFilename
src/utils/logging.cc:57
↓ 3 callers
Method
SetP
If the two assumed-on exponent bits (3<<28) are in fact off, the input is rounded up to the smallest value with them on. We accomplish this by subtrac
src/search/classic/node.cc:161
↓ 3 callers
Function
ShowNetworkFormatInfo
src/tools/describenet.cc:67
↓ 3 callers
Function
ShowNetworkOnnxInfo
src/tools/describenet.cc:226
↓ 3 callers
Method
SortEdges
src/search/dag_classic/node.cc:195
↓ 3 callers
Method
StartClock
src/search/classic/wrapper.cc:61
↓ 3 callers
Function
StrSplitAtWhitespace
src/utils/string.cc:47
↓ 3 callers
Method
Sub
src/neural/onnx/builder.cc:416
↓ 3 callers
Method
ToString
src/neural/backends/xla/pjrt.cc:196
↓ 3 callers
Function
TransposeBitsInBytes
Transpose across the diagonal connecting bit 7 to bit 56.
src/utils/bititer.h:81
↓ 3 callers
Function
Trim
src/utils/string.cc:89
↓ 3 callers
Method
UpdateEstimatedNps
src/search/classic/stoppers/timemgr.cc:52
↓ 3 callers
Method
UpdateEstimatedRemainingPlayouts
src/search/classic/stoppers/timemgr.cc:44
↓ 3 callers
Function
WDLRescale
WDL conversion formula based on random walk model.
src/search/dag_classic/search.cc:229
↓ 3 callers
Function
WDLRescale
WDL conversion formula based on random walk model.
src/search/classic/search.cc:223
↓ 3 callers
Method
Wait
src/engine_test.cc:97
↓ 3 callers
Function
addBias_NCHW
src/neural/backends/sycl/common_kernels.dp.cpp:416
↓ 3 callers
Method
clear
Not thread safe.
src/utils/atomic_vector.h:68
↓ 3 callers
Method
constructor_name
(self)
scripts/pybind/__init__.py:124
↓ 3 callers
Function
dtz_before_zeroing
DTZ tables don't store valid scores for moves that reset the rule50 counter like captures and pawn moves but we can easily recover the correct dtz of
src/syzygy/syzygy.cc:177
↓ 3 callers
Method
edge
src/search/dag_classic/node.h:578
↓ 3 callers
Function
encode
src/syzygy/syzygy.cc:490
↓ 3 callers
Function
expandPlanes_Fp16_NCHW
src/neural/backends/sycl/common_kernels.dp.cpp:716
↓ 3 callers
Function
expandPlanes_Fp32_NCHW
src/neural/backends/sycl/common_kernels.dp.cpp:601
↓ 3 callers
Function
fill_squares
p[i] is to contain the square 0-63 (A1-H8) for a piece of type pc[i] ^ flip, where 1 = white pawn, ..., 14 = black king and pc ^ flip flips between wh
src/syzygy/syzygy.cc:851
↓ 3 callers
Function
first_ei
src/syzygy/syzygy.cc:274
↓ 3 callers
Method
getCommandList
src/neural/backends/dx/network_dx.h:177
↓ 3 callers
Method
is_en_passant
src/chess/types.h:171
↓ 3 callers
Method
name_at_caller
(self)
scripts/pybind/parameters.py:123
↓ 3 callers
Method
root_probe_wdl
Use the WDL tables to rank root moves. This is a fallback for the case that some or all DTZ tables are missing. A return value false indicates that n
src/syzygy/syzygy.cc:1691
↓ 3 callers
Method
set_they_can_00
src/chess/board.h:134
↓ 3 callers
Method
set_they_can_000
src/chess/board.h:135
↓ 3 callers
Method
set_we_can_00
src/chess/board.h:132
↓ 3 callers
Method
set_we_can_000
src/chess/board.h:133
↓ 2 callers
Method
AddAliasDict
src/utils/optionsdict.cc:63
↓ 2 callers
Method
AddBackend
src/neural/register.h:40
↓ 2 callers
Method
AddVectors
src/neural/backends/dx/shader_wrapper.cc:413
↓ 2 callers
Method
AdjustForTerminal
src/search/dag_classic/node.cc:346
↓ 2 callers
Function
ApplyBias
src/neural/backends/blas/fully_connected_layer.cc:28
↓ 2 callers
Function
AsNnueString
src/trainingdata/rescorer.cc:438
↓ 2 callers
Method
AsPtr
src/neural/backend.h:65
↓ 2 callers
Method
Await
src/neural/backends/xla/pjrt.cc:251
↓ 2 callers
Method
AwaitAndReleaseBuffer
src/neural/backends/xla/pjrt.cc:303
↓ 2 callers
Method
Backoff
src/utils/spinhelper.h:40
↓ 2 callers
Function
BoardToFen
src/chess/board.cc:1227
↓ 2 callers
Function
BoolValue
src/neural/xla/print_hlo.cc:72
↓ 2 callers
Function
BuildAttacksTable
Builds rook or bishop attacks table.
src/chess/board.cc:263
↓ 2 callers
Function
CachedValueToEvalResult
src/neural/memcache.cc:53
↓ 2 callers
Function
CanConvertConstant
src/neural/xla/onnx2hlo.cc:47
↓ 2 callers
Method
CancelScoreUpdate
src/search/dag_classic/node.cc:327
↓ 2 callers
Method
CancelScoreUpdate
src/search/classic/node.cc:354
↓ 2 callers
Function
ChangeInputFormat
src/trainingdata/rescorer.cc:342
↓ 2 callers
Function
CheckOutOfBounds
src/utils/protomessage.cc:23
↓ 2 callers
Function
ChooseTransform
src/neural/encoder.cc:50
↓ 2 callers
Function
Clippy
src/tools/backendbench.cc:54
↓ 2 callers
Method
Compare
src/neural/xla/hlo_builder.cc:367
↓ 2 callers
Function
ComputeCpuct
src/search/dag_classic/search.cc:455
↓ 2 callers
Function
ComputeEstimatedMovesToGo
src/search/classic/stoppers/legacy.cc:37
↓ 2 callers
Function
ComputeEvalPositionHash
TODO For now it uses the hash of the current position, ignoring repetitions and history. We'll likely need to have configurable hash function that we'
src/neural/memcache.cc:41
↓ 2 callers
Method
Conv
src/neural/onnx/builder.cc:142
← previous
next →
401–500 of 2,664, ranked by callers