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
↓ 8 callers
Method
SetDimension
src/neural/xla/hlo_builder.h:86
↓ 8 callers
Function
TestValidRootExpectation
src/syzygy/syzygy_test.cc:39
↓ 8 callers
Method
knights
src/chess/board.h:218
↓ 8 callers
Method
type_object_name
(self)
scripts/pybind/__init__.py:121
↓ 8 callers
Function
vec_adjust
src/neural/backends/blas/network_blas.cc:261
↓ 7 callers
Function
BiasActivate
src/neural/backends/shared/activation.cc:233
↓ 7 callers
Function
CompareTransposing
src/neural/encoder.cc:36
↓ 7 callers
Method
CreateComputation
src/neural/wrapper.cc:168
↓ 7 callers
Method
Divide
src/neural/xla/hlo_builder.cc:222
↓ 7 callers
Function
FormatFlag
src/utils/optionsparser.cc:208
↓ 7 callers
Method
GetBounds
src/search/dag_classic/node.h:232
↓ 7 callers
Method
GetNumEdges
src/search/dag_classic/node.cc:260
↓ 7 callers
Method
ListSubdicts
Returns list of subdictionaries.
src/utils/optionsdict.cc:68
↓ 7 callers
Method
MakeMove
src/search/classic/node.cc:465
↓ 7 callers
Method
OutputAsString
Returns serialized model.
src/neural/onnx/builder.h:132
↓ 7 callers
Method
Parameter
src/neural/xla/hlo_builder.cc:112
↓ 7 callers
Method
ToString
src/neural/xla/hlo_builder.cc:63
↓ 7 callers
Method
as_int
src/chess/board.h:191
↓ 7 callers
Function
cblas_sgemm
src/neural/backends/blas/blas.h:62
↓ 7 callers
Method
from
src/chess/types.h:164
↓ 7 callers
Method
min_version
src/python/weights.h:55
↓ 7 callers
Method
probe_wdl
Probe the WDL table for a particular position. If *result != FAIL, the probe was successful. The return value is from the point of view of the side to
src/syzygy/syzygy.cc:1557
↓ 6 callers
Method
AddClass
(self, cls)
scripts/pybind/__init__.py:169
↓ 6 callers
Method
AddOutput
src/neural/onnx/builder.cc:110
↓ 6 callers
Method
AddToGcQueue
Takes ownership of a subtree, to dispose it in a separate thread when it has time.
src/search/classic/node.cc:61
↓ 6 callers
Function
AsFloat
src/neural/backends/network_onnx.cc:175
↓ 6 callers
Function
CheckDir
src/utils/filesystem.posix.cc:89
↓ 6 callers
Method
ComputeGameResult
src/chess/position.cc:75
↓ 6 callers
Method
Convert
src/neural/xla/onnx2hlo.cc:510
↓ 6 callers
Method
DebugString
src/chess/board.cc:1144
↓ 6 callers
Function
EncodeVarInt
// Kept for serialization part.
src/utils/protomessage.cc:50
↓ 6 callers
Function
FastLog
Fast approximate ln(x). Does no range checking.
src/utils/fastmath.h:81
↓ 6 callers
Function
FilterTransform
src/neural/backends/sycl/winograd_helper.h:906
↓ 6 callers
Method
GetBackendsList
src/neural/factory.cc:56
↓ 6 callers
Method
GetGameResult
src/selfplay/game.h:91
↓ 6 callers
Method
GetMaxCollisionVisitsScalingStart
src/search/classic/params.h:151
↓ 6 callers
Method
GetQVal
src/neural/backends/network_check.cc:101
↓ 6 callers
Method
GetTemperatureEndgame
src/search/classic/params.h:78
↓ 6 callers
Method
GetWDLMaxS
src/search/classic/params.h:127
↓ 6 callers
Function
InitializeMagicBitboards
src/chess/board.cc:413
↓ 6 callers
Function
IsMultiple
src/neural/backends/opencl/OpenCLTuner.cc:63
↓ 6 callers
Function
LayerNorm2DWithSkipConnection
src/neural/backends/blas/encoder.h:29
↓ 6 callers
Function
MaskDiffWithMirror
src/neural/decoder.cc:44
↓ 6 callers
Method
Next
src/utils/optionsdict.cc:98
↓ 6 callers
Method
NumElements
src/neural/xla/hlo_builder.cc:72
↓ 6 callers
Method
Reduce
src/neural/xla/hlo_builder.cc:181
↓ 6 callers
Method
Reset
src/search/classic/node.h:362
↓ 6 callers
Method
ResetToPosition
src/search/classic/node.cc:493
↓ 6 callers
Method
Run
src/selfplay/loop.cc:49
↓ 6 callers
Method
SendRawResponse
src/chess/uciloop.cc:270
↓ 6 callers
Method
move_overhead_ms
Move overhead.
src/search/classic/stoppers/smooth.cc:103
↓ 6 callers
Function
next_power_of_two
src/neural/backends/opencl/OpenCLTuner.cc:139
↓ 6 callers
Method
param_type
(self)
scripts/pybind/functions.py:93
↓ 6 callers
Function
read_le_u16
src/syzygy/syzygy.cc:719
↓ 6 callers
Method
type_struct_name
(self)
scripts/pybind/exceptions.py:34
↓ 5 callers
Method
AddSubdict
Creates subdictionary. Throws exception if already exists.
src/utils/optionsdict.cc:55
↓ 5 callers
Method
Concat
src/neural/onnx/builder.cc:352
↓ 5 callers
Function
ContainsKey
src/chess/uciloop.cc:160
↓ 5 callers
Method
Exponential
src/neural/xla/hlo_builder.cc:401
↓ 5 callers
Function
FP16toFP32
src/utils/fp16_utils.h:52
↓ 5 callers
Function
FetchConstForType
src/neural/xla/onnx2hlo.cc:60
↓ 5 callers
Method
Forward
src/neural/backends/blas/convolution1.cc:32
↓ 5 callers
Method
GetC
src/neural/backends/dx/layers_dx.h:47
↓ 5 callers
Method
GetC
src/neural/backends/onednn/layers.h:42
↓ 5 callers
Method
GetCppType
(self)
scripts/compile_proto.py:202
↓ 5 callers
Method
GetEstimatedRemainingPlayouts
src/search/classic/stoppers/timemgr.cc:47
↓ 5 callers
Method
GetFloat
src/utils/random.cc:54
↓ 5 callers
Function
GetFpu
src/search/classic/search.cc:428
↓ 5 callers
Method
GetH
src/neural/backends/dx/layers_dx.h:48
↓ 5 callers
Method
GetH
src/neural/backends/onednn/layers.h:43
↓ 5 callers
Method
GetNStarted
Returns n = n_if_flight.
src/search/classic/node.h:167
↓ 5 callers
Method
GetNumEdges
src/search/classic/node.h:181
↓ 5 callers
Method
GetSibling
Get next sibling.
src/search/dag_classic/node.h:204
↓ 5 callers
Function
GetVersionStr
src/version.cc:33
↓ 5 callers
Method
GetW
src/neural/backends/dx/layers_dx.h:49
↓ 5 callers
Method
GetW
src/neural/backends/onednn/layers.h:44
↓ 5 callers
Method
Merge
Combines capabilities by setting the most restrictive ones. May throw exception.
src/neural/network.h:93
↓ 5 callers
Method
ParseFromString
src/utils/protomessage.cc:63
↓ 5 callers
Method
Slice
src/neural/onnx/builder.cc:332
↓ 5 callers
Function
Softmax
src/neural/backends/sycl/common_kernels.dp.cpp:1212
↓ 5 callers
Function
TestInvalid
src/chess/board_test.cc:2212
↓ 5 callers
Function
TransformForPosition
src/neural/encoder.cc:125
↓ 5 callers
Function
WinogradFilterZeropadU
src/neural/backends/shared/winograd_filter.cc:31
↓ 5 callers
Method
_list_caller_params
(self)
scripts/pybind/functions.py:188
↓ 5 callers
Method
count_few
Like count() but using algorithm faster on a very sparse BitBoard. May be slower for more than 4 set bits, but still correct. Useful when counting bit
src/chess/bitboard.h:74
↓ 5 callers
Function
cublasXgemm
src/neural/backends/sycl/layers.cc.dp.cpp:1739
↓ 5 callers
Function
cublasXgemm
src/neural/backends/cuda/layers.cc:1585
↓ 5 callers
Function
from_le_u16
src/syzygy/syzygy.cc:703
↓ 5 callers
Method
getShaderWrapper
src/neural/backends/dx/network_dx.h:178
↓ 5 callers
Function
mish
src/neural/backends/shared/activation.cc:51
↓ 5 callers
Method
root_probe
Use the DTZ tables to rank root moves. A return value false indicates that not all probes were successful.
src/syzygy/syzygy.cc:1636
↓ 5 callers
Method
to
src/chess/types.h:165
↓ 5 callers
Function
warpReduce
fast reduction for the warp
src/neural/backends/sycl/winograd_helper.h:445
↓ 5 callers
Method
we_can_00
src/chess/board.h:142
↓ 5 callers
Method
we_can_000
src/chess/board.h:143
↓ 4 callers
Function
ACQUIRE
src/utils/mutex.h:85
↓ 4 callers
Function
Activate
src/neural/backends/shared/activation.cc:71
↓ 4 callers
Method
Add
src/neural/backends/network_check.cc:211
↓ 4 callers
Method
AddContext
src/utils/optionsparser.cc:203
↓ 4 callers
Method
AddSubdictFromString
src/utils/optionsdict.cc:326
← previous
next →
201–300 of 2,664, ranked by callers