Cargo Features

[dependencies]
border-py-gym-env = { version = "0.0.6", default-features = false, features = ["tch"] }
default = tch

The tch feature is set by default whenever border-py-gym-env is added without default-features = false somewhere in the dependency tree.

Features from optional dependencies

tch default

Enables default (torch-sys/download-libtorch) of tch ^0.8.0

Affects util::vec_to_tensor, util::arrayd_to_tensor, util::tensor_to_arrayd