|
baba-is-auto
C++17 Baba Is You simulator
|
Preprocess class. More...
#include <Preprocess.hpp>
Static Public Member Functions | |
| static std::vector< float > | StateToTensor (const Game &game) |
Static Public Attributes | |
| static constexpr int | TENSOR_DIM = 16 |
| The dimension of the tensor. (14 + 2) | |
Preprocess class.
This class contains utility functions for preprocess.
|
static |
Converts the game state to the tensor.
| game | The game state. |
|
staticconstexpr |
The dimension of the tensor. (14 + 2)