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
↓ 4 callers
Function
ConstReshape
src/neural/xla/onnx2hlo.cc:304
↓ 4 callers
Function
CpuTranspose
TODO: Do this on the GPU to improve network load time!
src/neural/backends/sycl/layers.cc.dp.cpp:854
↓ 4 callers
Function
CpuTranspose
TODO: Do this on the GPU to improve network load time!
src/neural/backends/cuda/layers.cc:858
↓ 4 callers
Method
CreateFromParams
src/neural/register.cc:74
↓ 4 callers
Function
EnsureOutDataType
src/tools/onnx2leela.cc:321
↓ 4 callers
Function
FastLogistic
Safeguarded fast logistic function, based on FastExp().
src/utils/fastmath.h:89
↓ 4 callers
Method
Fill
src/neural/network.h:46
↓ 4 callers
Method
Generate
(self, w, module)
scripts/pybind/__init__.py:74
↓ 4 callers
Method
GeneratePseudolegalMoves
src/chess/board.cc:430
↓ 4 callers
Function
GetAllEnumValues
src/tools/onnx2leela.cc:45
↓ 4 callers
Method
GetBatchSize
src/neural/backends/network_mux.cc:47
↓ 4 callers
Method
GetBounds
src/search/classic/node.h:180
↓ 4 callers
Method
GetCachedEvaluation
src/neural/memcache.cc:165
↓ 4 callers
Function
GetConvTensorDesc
src/neural/backends/dx/layers_dx.cc:139
↓ 4 callers
Method
GetDimensions
src/neural/onnx/adapters.cc:63
↓ 4 callers
Function
GetEnumValueFromString
src/tools/onnx2leela.cc:53
↓ 4 callers
Method
GetFactoryByName
src/search/register.cc:52
↓ 4 callers
Function
GetFpu
src/search/dag_classic/search.cc:437
↓ 4 callers
Method
GetFpuAbsolute
src/search/classic/params.h:88
↓ 4 callers
Method
GetFpuValue
src/search/classic/params.h:91
↓ 4 callers
Method
GetMaxCollisionVisits
src/search/classic/params.h:97
↓ 4 callers
Method
GetMaxCollisionVisitsScalingEnd
src/search/classic/params.h:154
↓ 4 callers
Method
GetNInFlight
src/search/dag_classic/node.cc:156
↓ 4 callers
Method
GetNoiseEpsilon
src/search/classic/params.h:84
↓ 4 callers
Method
GetOrSpawnNode
If there is node, return it. Otherwise spawn a new one and return it.
src/search/dag_classic/node.h:689
↓ 4 callers
Method
GetOrSpawnNode
If there is node, return it. Otherwise spawn a new one and return it.
src/search/classic/node.h:485
↓ 4 callers
Method
GetPlyCount
src/search/classic/node.h:654
↓ 4 callers
Method
GetTotalPlayouts
src/search/classic/search.cc:670
↓ 4 callers
Method
GetU
Returns U = numerator * p / N. Passed numerator is expected to be equal to (cpuct * sqrt(N[parent])).
src/search/classic/node.h:408
↓ 4 callers
Method
GetWDLEvalObjectivity
src/search/classic/params.h:128
↓ 4 callers
Function
GetXlaTypeSize
src/neural/xla/xla_tensor.h:43
↓ 4 callers
Method
Go
src/engine.cc:234
↓ 4 callers
Method
Hash
src/chess/position.cc:59
↓ 4 callers
Method
IsBytesType
(self)
scripts/compile_proto.py:225
↓ 4 callers
Function
IsOnBoard
src/chess/board.cc:258
↓ 4 callers
Method
LoadSEWeights
src/neural/backends/cuda/layers.cc:865
↓ 4 callers
Function
LoadWeightsFromFile
src/neural/loader.cc:194
↓ 4 callers
Function
MakeComputation
Finalizes HloComputationProto (sets name, renumbers parameters, adds computation shape and root instruction).
src/neural/xla/hlo_builder.cc:496
↓ 4 callers
Function
MakeTimeManager
src/search/classic/stoppers/factory.cc:75
↓ 4 callers
Function
OnnxTypeToXlaType
src/neural/xla/onnx2hlo.cc:312
↓ 4 callers
Method
OutputBestMove
src/chess/uciloop.cc:279
↓ 4 callers
Function
OutputTransform4x4
src/neural/backends/sycl/winograd_helper.h:121
↓ 4 callers
Function
PtrToNodeName
src/search/dag_classic/node.cc:433
↓ 4 callers
Function
REQUIRES
src/search/dag_classic/search.cc:266
↓ 4 callers
Method
Reset
src/search/dag_classic/node.h:569
↓ 4 callers
Function
RunEngine
src/engine_loop.cc:47
↓ 4 callers
Method
SetElementType
src/neural/xla/hlo_builder.h:79
↓ 4 callers
Method
SetOpName
src/neural/xla/hlo_builder.h:181
↓ 4 callers
Method
SetOpType
src/neural/xla/hlo_builder.h:178
↓ 4 callers
Function
SoftmaxActivation
src/neural/backends/shared/activation.cc:37
↓ 4 callers
Method
Subtract
src/neural/xla/hlo_builder.cc:214
↓ 4 callers
Function
Transform
src/neural/encoder.cc:601
↓ 4 callers
Method
Trim
src/search/dag_classic/node.cc:122
↓ 4 callers
Function
Validate
src/trainingdata/rescorer.cc:127
↓ 4 callers
Method
__init__
(self, name, optional=False, cpp_name=None,
scripts/pybind/parameters.py:28
↓ 4 callers
Method
__init__
(self, name, gen_function_name, self_type=None,
scripts/pybind/functions.py:43
↓ 4 callers
Method
_failure
(self)
scripts/pybind/functions.py:194
↓ 4 callers
Function
count_pieces
src/syzygy/syzygy.cc:185
↓ 4 callers
Method
edge
src/search/classic/node.h:371
↓ 4 callers
Method
getDevice
src/neural/backends/dx/network_dx.h:176
↓ 4 callers
Function
globalAvgPool
src/neural/backends/sycl/common_kernels.dp.cpp:900
↓ 4 callers
Function
globalScale
src/neural/backends/sycl/common_kernels.dp.cpp:947
↓ 4 callers
Function
inputPreprocessForAttentionBody
src/neural/backends/sycl/common_kernels.dp.cpp:1613
↓ 4 callers
Function
is_little_endian
src/syzygy/syzygy.cc:678
↓ 4 callers
Function
matrixMul_gpu_serial_6x6x6
src/neural/backends/dx/shaders/WinogradCommon.h:92
↓ 4 callers
Method
probe_dtz
Probe the DTZ 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:1587
↓ 4 callers
Method
set_if
Sets the value for given square to 1 if cond is true. Otherwise does nothing (doesn't reset!).
src/chess/bitboard.h:90
↓ 4 callers
Function
sgemm_generate_data
src/neural/backends/opencl/OpenCLTuner.cc:143
↓ 4 callers
Function
sign_of
src/syzygy/syzygy.cc:181
↓ 4 callers
Function
swap_endian
src/syzygy/syzygy.cc:688
↓ 4 callers
Method
they_can_00
src/chess/board.h:144
↓ 4 callers
Method
they_can_000
src/chess/board.h:145
↓ 4 callers
Function
update
(major, minor, patch, postfix="")
scripts/bumpversion.py:35
↓ 3 callers
Method
AddComputation
src/neural/xla/hlo_builder.cc:536
↓ 3 callers
Function
AsHexString
src/neural/xla/xla_tensor.cc:37
↓ 3 callers
Method
BuildDocString
(self)
scripts/pybind/core.py:31
↓ 3 callers
Function
CEscape
C-escapes the given string, and appends double quotes around it.
src/neural/xla/print_hlo.cc:37
↓ 3 callers
Method
CheckAllOptionsRead
src/utils/optionsdict.cc:331
↓ 3 callers
Method
Clear
src/chess/board.cc:55
↓ 3 callers
Function
ComputeCpuct
src/search/classic/search.cc:446
↓ 3 callers
Function
ConvertWeightsToOnnx
src/neural/onnx/converter.cc:1249
↓ 3 callers
Function
CpuTranspose
src/neural/backends/dx/layers_dx.cc:52
↓ 3 callers
Function
CreateDirectory
src/utils/filesystem.posix.cc:38
↓ 3 callers
Function
CreateMemCache
src/neural/memcache.cc:188
↓ 3 callers
Method
DebugString
src/neural/xla/xla_tensor.cc:50
↓ 3 callers
Function
DriftCorrect
src/trainingdata/trainingdata.cc:33
↓ 3 callers
Method
Dump
src/neural/backends/network_check.cc:222
↓ 3 callers
Function
FP32toBF16
src/utils/bf16_utils.h:30
↓ 3 callers
Function
FP32toFP8E5M2
src/utils/fp8_utils.h:44
↓ 3 callers
Function
FastExp
Fast approximate exp(x). Does only limited range checking.
src/utils/fastmath.h:86
↓ 3 callers
Function
FetchMutableForType
src/neural/xla/onnx2hlo.cc:83
↓ 3 callers
Method
FinalizeScoreUpdate
src/search/dag_classic/node.cc:332
↓ 3 callers
Method
FlushAndWait
src/neural/backends/dx/network_dx.cc:75
↓ 3 callers
Function
FormatTime
src/utils/logging.cc:103
↓ 3 callers
Method
GenerateFunctionDefinitions
(self, w)
scripts/compile_proto.py:513
↓ 3 callers
Method
GetAttributes
src/neural/memcache.cc:67
↓ 3 callers
Method
GetChildrenVisits
src/search/dag_classic/node.cc:160
↓ 3 callers
Method
GetChildrenVisits
src/search/classic/node.h:165
↓ 3 callers
Method
GetComputationId
src/neural/xla/hlo_builder.cc:529
↓ 3 callers
Method
GetCurrentHead
src/search/dag_classic/node.h:843
← previous
next →
301–400 of 2,664, ranked by callers