Download gpudrive-main/tests/test_utils.hpp from lzhts1/FromSim2Real: direct link, hf CLI and curl.
- Browser
- Download file 475 Bytes
-
https://huggingface.co/datasets/lzhts1/FromSim2Real/resolve/main/gpudrive-main/tests/test_utils.hpp
- Command line
-
hf download hf://datasets/lzhts1/FromSim2Real/gpudrive-main/tests/test_utils.hpp
-
curl -L -o test_utils.hpp https://huggingface.co/datasets/lzhts1/FromSim2Real/resolve/main/gpudrive-main/tests/test_utils.hpp
475 Bytes
| using namespace madrona; | |
| namespace test_utils | |
| { | |
| const float EPSILON = 0.001f; // Decreased epsilon to account for floating point errors. TODO: increase floating point precision and ideally use 1e-6 as epsilon. | |
| std::vector<float> flatten_obs(const py::Tensor &obs); | |
| std::pair<float, float> calcMean(const nlohmann::json &rawJson); | |
| } // namespace utils | |