We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b554919 commit 4886ac8Copy full SHA for 4886ac8
2 files changed
ocean/g2048/binding.c
@@ -3,7 +3,6 @@
3
#define NUM_ATNS 1
4
#define ACT_SIZES {4}
5
#define OBS_TENSOR_T ByteTensor
6
-#define ACT_TYPE DOUBLE
7
8
#define Env Game
9
#include "vecenv.h"
ocean/g2048/g2048.h
@@ -53,7 +53,7 @@ typedef struct Log {
53
typedef struct Game {
54
Log log; // Required
55
unsigned char* observations; // Cheaper in memory if encoded in uint_8
56
- double* actions; // Required
+ float* actions; // Required
57
float* rewards; // Required
58
float* terminals; // Required
59
int num_agents; // Required for env_binding
0 commit comments