Candle Extensions
An extension library to Candle that provides PyTorch functions not currently available in Candle
use ;
Currently provides (see also tests):
-
F::scaled_dot_product_attention
-
F::chunk2..5 / Tensor::chunk2..5
-
F::cumsum / Tensor::cumsum
-
F::equal / Tensor::equal
-
F::eye / Tensor::eye
-
F::triu / Tensor::triu
-
F::tril / Tensor::tril
-
F::masked_fill / Tensor::masked_fill
-
F::logical_not / Tensor::logical_not
-
F::outer / Tensor::outer
-
F::unbind / Tensor::unbind / F::unbind2..5 / Tensor::unbind2..5
-
F::values_like / Tensor::values_like
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.