Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RootHarold/Lycoris
/ functions
Functions
72 in github.com/RootHarold/Lycoris
⨍
Functions
72
◇
Types & classes
12
↓ 4 callers
Method
clone
LycorisNet/sources/node.cpp:31
↓ 4 callers
Method
forward
Set input array => Forward calculation of the individual => Get output array.
LycorisNet/sources/individual.cpp:94
↓ 2 callers
Method
getSize
Returns the size of the best individual.
LycorisNet/sources/lycoris.cpp:453
↓ 1 callers
Method
BP_Multi_Thread
Multi threaded version of back propagation.
LycorisNet/sources/individual.cpp:228
↓ 1 callers
Method
BP_Single_Thread
Single threaded version of back propagation.
LycorisNet/sources/individual.cpp:123
↓ 1 callers
Method
LycorisRandomUint32_t
Generate a random number in the interval [0, N) (uint32_t).
LycorisNet/include/utils.h:117
↓ 1 callers
Method
addConnections
Adding the connections of neural network in preheating process.
LycorisNet/sources/utils.cpp:138
↓ 1 callers
Method
clone
Deep clone of individual.
LycorisNet/sources/individual.cpp:61
↓ 1 callers
Method
mutateIndividual
Mutating the individuals.
LycorisNet/sources/utils.cpp:24
↓ 1 callers
Method
resize
Resize the capacity of the neural network cluster.
LycorisNet/sources/lycoris.cpp:272
Method
Args
LycorisNet/sources/args.cpp:18
Method
BP_Multi_Thread_Core
One of the functor of BP_Multi_Thread().
LycorisNet/sources/individual.cpp:305
Method
BP_Multi_Thread_Forward
One of the functor of BP_Multi_Thread().
LycorisNet/sources/individual.cpp:381
Method
Gen
LycorisNet/sources/genome.cpp:17
Method
Individual
LycorisNet/sources/individual.cpp:16
Method
Lycoris
LycorisNet/sources/lycoris.cpp:16
Method
LycorisRandomFloat
Generate a random number in the interval [min, max) (float).
LycorisNet/include/utils.h:110
Method
LycorisUtils
LycorisNet/sources/utils.cpp:15
Method
Node
LycorisNet/sources/node.cpp:13
Method
Ome
LycorisNet/sources/genome.cpp:26
Function
PYBIND11_MODULE
python/LycorisNet.cpp:7
Method
SortFitness
LycorisNet/sources/utils.cpp:202
Method
addHiddenNodes
Adding hidden nodes of neural network in preheating process.
LycorisNet/sources/utils.cpp:128
Method
backPropagation
BP_Single_Thread() is invoked in every individual of the neural network cluster.
LycorisNet/sources/lycoris.cpp:584
Method
backPropagationCore
The functor of backPropagation().
LycorisNet/sources/lycoris.cpp:610
Method
checkFirstRun
Check if the individualList is initialized.
LycorisNet/sources/lycoris.cpp:725
Method
chooseElite
All the individuals in the neural network cluster are sorted and the better ones are selected.
LycorisNet/sources/lycoris.cpp:617
Method
closeMemLimit
Turn off memory-limit.
LycorisNet/sources/lycoris.cpp:364
Method
compareFitness
A comparison functor used in sorting individuals.
LycorisNet/include/utils.h:134
Method
compute
Forward Computing of the best individual.
LycorisNet/sources/lycoris.cpp:200
Method
computeBatch
Parallel forward Computing of the best individual.
LycorisNet/sources/lycoris.cpp:220
Method
computeBatchCore
The functor of computeBatch().
LycorisNet/sources/lycoris.cpp:710
Method
cross_entropy
Cross-Entropy.
LycorisNet/include/utils.h:99
Method
enrich
Keep only the best one in the neural network cluster.
LycorisNet/sources/lycoris.cpp:152
Method
euclidean_distance
Euclidean distance.
LycorisNet/include/utils.h:88
Method
evolve
Evolve the neural network cluster.
LycorisNet/sources/lycoris.cpp:91
Method
fit
Fit all neural networks in the neural network cluster.
LycorisNet/sources/lycoris.cpp:109
Method
fitAll
Fit all neural networks in the neural network cluster.
LycorisNet/sources/lycoris.cpp:528
Method
getCapacity
Returns capacity of Lycoris.
LycorisNet/sources/lycoris.cpp:470
Method
getHiddenLayer
* Get a vector of nodes in a specific layer of the best * individual. The parameter pos starts at index 0. */
LycorisNet/sources/lycoris.cpp:508
Method
getHiddenLayer
* Get a vector of nodes in a specific layer of this neural network. * The parameter pos starts at index 0. */
LycorisNet/sources/individual.cpp:398
Method
getInputDim
Returns the input dimension.
LycorisNet/sources/lycoris.cpp:460
Method
getLayers
Returns the number of nodes in each layer of the neural network.
LycorisNet/sources/lycoris.cpp:490
Method
getLoss
Returns the loss.
LycorisNet/sources/lycoris.cpp:475
Method
getMode
Returns mode of Lycoris (classify or predict).
LycorisNet/sources/lycoris.cpp:485
Method
getOutputDim
Returns the output dimension.
LycorisNet/sources/lycoris.cpp:465
Method
getSize
Return the size of the individual.
LycorisNet/sources/individual.cpp:84
Method
initialize
Initialize a individual.
LycorisNet/sources/individual.cpp:39
Function
loadModel
Import the pre-trained model.
LycorisNet/sources/lycoris.cpp:743
Function
loadViaString
Import the pre-trained model via string.
LycorisNet/sources/lycoris.cpp:833
Method
mutate
Mutating.
LycorisNet/sources/lycoris.cpp:544
Method
mutateCore
The functor of mutate().
LycorisNet/sources/lycoris.cpp:576
Method
openMemLimit
Turn on memory-limit.
LycorisNet/sources/lycoris.cpp:358
Method
operator<
Overloading operator.
LycorisNet/include/genome.h:38
Method
preheat
Preheating process of the neural network cluster.
LycorisNet/sources/lycoris.cpp:44
Method
preheatCore
The functor of preheat().
LycorisNet/sources/lycoris.cpp:702
Method
relu
ReLU (with huge leak = 0.2).
LycorisNet/include/utils.h:69
Method
runLycoris
Main part of evolve().
LycorisNet/sources/lycoris.cpp:676
Method
saveModel
Export the current trained model.
LycorisNet/sources/lycoris.cpp:370
Method
setCpuCores
Set the number of worker threads to train the model.
LycorisNet/sources/lycoris.cpp:443
Method
setLR
Set the learning rate.
LycorisNet/sources/lycoris.cpp:448
Method
setMutateArgs
Set p1 to p4 in the class Args.
LycorisNet/sources/lycoris.cpp:415
Method
setMutateOdds
Set the odds of mutating.
LycorisNet/sources/lycoris.cpp:432
Method
softmax
Softmax.
LycorisNet/include/utils.h:74
Method
split
Return a list of the words in the string, using whitespace as the delimiter string.
LycorisNet/include/utils.h:122
Method
version
LycorisNet/include/lycoris.h:216
Method
~Args
LycorisNet/sources/args.cpp:42
Method
~Individual
LycorisNet/sources/individual.cpp:29
Method
~Lycoris
LycorisNet/sources/lycoris.cpp:31
Method
~LycorisUtils
LycorisNet/sources/utils.cpp:19
Method
~Node
LycorisNet/sources/node.cpp:22
Method
~SortFitness
LycorisNet/sources/utils.cpp:211