Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
RootHarold committed Dec 26, 2019
1 parent 6242bbc commit c801daf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ uint32_t **getOutputDim**(); | | | Returns the output dimension.
uint32_t **getCapacity**(); | | | Returns capacity of Lycoris.
float **getFitness**(); | | | Returns the loss.
std::string **getMode**(); | | | Returns mode of Lycoris (classify or predict).
std::vector<uint32_t> **getLayers**(); | | | Returns the number of nodes in each layer of the neural network.
std::vector<float> **getHiddenLayer**(uint32_t pos); | The parameter pos starts at index 0. | **pos**: The number of the layer needed. | Returns a vector of nodes in a specific layer of the best individual.
*static* std::string **version**(); | | | Returns version information and copyright information.

The funtion used to import the pre-trained model (`namespace LycorisNet`):
Expand Down
2 changes: 2 additions & 0 deletions python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Function | Description | Inputs | Returns
**getCapacity**() | | | Returns capacity of Lycoris.
**getFitness**() | | | Returns the loss.
**getMode**() | | | Returns mode of Lycoris (classify or predict).
**getLayers**() | | | Returns the number of nodes in each layer of the neural network.
**getHiddenLayer**(pos) | The parameter pos starts at index 0. | **pos**: The number of the layer needed. | Returns a vector of nodes in a specific layer of the best individual.
**version**() | | | Returns version information and copyright information.

The funtion used to import the pre-trained model (`from LycorisNet import loadModel`):
Expand Down

0 comments on commit c801daf

Please sign in to comment.