Methods
(async) evaluate(nn, random) → {Array.<Float32Array>}
ニューラルネットワークで局面を評価します。
ランダムに局面を対称変換させる機能を持ちます。
Parameters:
Name | Type | Description |
---|---|---|
nn |
NeuralNetwork | |
random |
bool |
Returns:
- Type
- Array.<Float32Array>
feature(symmetry) → {Float32Array}
ニューラルネットワークを使用する際の入力フィーチャーを生成します。
Parameters:
Name | Type | Default | Description |
---|---|---|---|
symmetry |
Integer | 0 |
Returns:
- Type
- Float32Array