Docs.rs
rust-bert-custom-0.1.0
rust-bert-custom 0.1.0
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
Dependencies
cached-path ^0.6
normal
optional
dirs ^5
normal
optional
half ^2
normal
lazy_static ^1
normal
optional
ndarray ^0.15
normal
optional
ordered-float ^4.2.0
normal
ort ^1.16.3
normal
optional
regex ^1.10
normal
rust_tokenizers ^8.1.1
normal
serde ^1
normal
serde_json ^1
normal
tch ^0.18.1
normal
thiserror ^1
normal
tokenizers ^0.20
normal
optional
uuid ^1
normal
anyhow ^1
dev
criterion ^0.5
dev
csv ^1
dev
itertools ^0.13.0
dev
ort ^1.16.3
dev
tempfile ^3
dev
tokio ^1.35
dev
tracing-subscriber ^0.3
dev
Versions
55.06%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
rust_
bert
0.1.0
In rust_
bert::
pipelines::
generation_
utils
rust_bert
::
pipelines
::
generation_utils
Type Alias
PrefixAllowedFunction
Copy item path
Source
pub type PrefixAllowedFunction<'a> = &'a dyn
Fn
(
i64
, &
Tensor
) ->
Vec
<
i64
>;