Cargo Features
[dependencies]
burn-tensor = { version = "0.13.2", default-features = false, features = ["std", "experimental-named-tensor", "export_tests", "wasm-sync", "doc"] }
- default doc? = std
-
The
std
feature is set by default wheneverburn-tensor
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of half, num-traits, and rand
rand:
Default enables std
- experimental-named-tensor
- export_tests = burn-tensor-testgen
- wasm-sync
-
Affects
argwhere::argwhere
,numeric::Numeric.sort
,numeric::Numeric.sort_with_indices
,numeric::Numeric.argsort
,sort::sort
,sort::sort_with_indices
,sort::argsort
,bool_tensor::BoolTensorOps.bool_argwhere
,bool_tensor::BoolTensorOps.bool_nonzero
,int_tensor::IntTensorOps.int_sort
,int_tensor::IntTensorOps.int_sort_with_indices
,int_tensor::IntTensorOps.int_argsort
,tensor::FloatTensorOps.float_sort
,tensor::FloatTensorOps.float_sort_with_indices
,tensor::FloatTensorOps.float_argsort
… - doc = default
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.