12 #define ATTR_UNUSED __attribute__((unused)) 17 #include "basetypes.h" 20 #include <torchcraft/state.h> 26 #define DFOASG(mean, var) \ 27 mean // this is a gaussian with given mean and variance 34 namespace tc = ::torchcraft;
42 void init(int64_t randomSeed);
47 std::string logSinkDir,
48 bool logSinkToStderr);
Copyright (c) 2015-present, Facebook, Inc.
Definition: openbwprocess.h:17
void setLoggingFrame(int frame)
Set a frame number to prefix log messages with.
Definition: cherrypi.cpp:374
std::chrono::nanoseconds Duration
Definition: cherrypi.h:36
void initLogging(const char *execName, std::string logSinkDir, bool logSinkToStderr)
Definition: cherrypi.cpp:343
std::chrono::steady_clock hires_clock
Definition: cherrypi.h:40
void installSignalHandlers()
Definition: cherrypi.cpp:321
void unsetLoggingFrame()
Reset the frame number for log messages.
Definition: cherrypi.cpp:378
void shutdown(bool logSinkToStderr)
Definition: cherrypi.cpp:364
Main namespace for bot-related code.
Definition: areainfo.cpp:17
void init(int64_t randomSeed)
Definition: cherrypi.cpp:293