paddler_types 3.0.0

Open-source LLMOps platform for hosting and scaling AI in your own infrastructure
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::Deserialize;
use serde::Serialize;

#[derive(Clone, Debug, Deserialize, Serialize)]
#[repr(i8)]
pub enum PoolingType {
    Unspecified = -1,
    None = 0,
    Mean = 1,
    Cls = 2,
    Last = 3,
    Rank = 4,
}