#[repr(u8)]pub enum LinearQuantizeBins {
Show 64 variants
_1B1 = 1,
_1B2 = 2,
_1B3 = 3,
_1B4 = 4,
_1B5 = 5,
_1B6 = 6,
_1B7 = 7,
_1B8 = 8,
_1B9 = 9,
_1B10 = 10,
_1B11 = 11,
_1B12 = 12,
_1B13 = 13,
_1B14 = 14,
_1B15 = 15,
_1B16 = 16,
_1B17 = 17,
_1B18 = 18,
_1B19 = 19,
_1B20 = 20,
_1B21 = 21,
_1B22 = 22,
_1B23 = 23,
_1B24 = 24,
_1B25 = 25,
_1B26 = 26,
_1B27 = 27,
_1B28 = 28,
_1B29 = 29,
_1B30 = 30,
_1B31 = 31,
_1B32 = 32,
_1B33 = 33,
_1B34 = 34,
_1B35 = 35,
_1B36 = 36,
_1B37 = 37,
_1B38 = 38,
_1B39 = 39,
_1B40 = 40,
_1B41 = 41,
_1B42 = 42,
_1B43 = 43,
_1B44 = 44,
_1B45 = 45,
_1B46 = 46,
_1B47 = 47,
_1B48 = 48,
_1B49 = 49,
_1B50 = 50,
_1B51 = 51,
_1B52 = 52,
_1B53 = 53,
_1B54 = 54,
_1B55 = 55,
_1B56 = 56,
_1B57 = 57,
_1B58 = 58,
_1B59 = 59,
_1B60 = 60,
_1B61 = 61,
_1B62 = 62,
_1B63 = 63,
_1B64 = 64,
}
Expand description
Number of bins for quantization, written in base-2 scientific notation.
The binary #[repr(u8)]
value of each variant is equivalent to the binary
logarithm of the number of bins, i.e. the binary precision or the number of
bits used.
Variants§
_1B1 = 1
_1B2 = 2
_1B3 = 3
_1B4 = 4
_1B5 = 5
_1B6 = 6
_1B7 = 7
_1B8 = 8
_1B9 = 9
_1B10 = 10
_1B11 = 11
_1B12 = 12
_1B13 = 13
_1B14 = 14
_1B15 = 15
_1B16 = 16
_1B17 = 17
_1B18 = 18
_1B19 = 19
_1B20 = 20
_1B21 = 21
_1B22 = 22
_1B23 = 23
_1B24 = 24
_1B25 = 25
_1B26 = 26
_1B27 = 27
_1B28 = 28
_1B29 = 29
_1B30 = 30
_1B31 = 31
_1B32 = 32
_1B33 = 33
_1B34 = 34
_1B35 = 35
_1B36 = 36
_1B37 = 37
_1B38 = 38
_1B39 = 39
_1B40 = 40
_1B41 = 41
_1B42 = 42
_1B43 = 43
_1B44 = 44
_1B45 = 45
_1B46 = 46
_1B47 = 47
_1B48 = 48
_1B49 = 49
_1B50 = 50
_1B51 = 51
_1B52 = 52
_1B53 = 53
_1B54 = 54
_1B55 = 55
_1B56 = 56
_1B57 = 57
_1B58 = 58
_1B59 = 59
_1B60 = 60
_1B61 = 61
_1B62 = 62
_1B63 = 63
_1B64 = 64
Trait Implementations§
Source§impl Clone for LinearQuantizeBins
impl Clone for LinearQuantizeBins
Source§fn clone(&self) -> LinearQuantizeBins
fn clone(&self) -> LinearQuantizeBins
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for LinearQuantizeBins
impl<'de> Deserialize<'de> for LinearQuantizeBins
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for LinearQuantizeBins
impl JsonSchema for LinearQuantizeBins
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
§fn always_inline_schema() -> bool
fn always_inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref
keyword. Read moreSource§impl Serialize for LinearQuantizeBins
impl Serialize for LinearQuantizeBins
impl Copy for LinearQuantizeBins
Auto Trait Implementations§
impl Freeze for LinearQuantizeBins
impl RefUnwindSafe for LinearQuantizeBins
impl Send for LinearQuantizeBins
impl Sync for LinearQuantizeBins
impl Unpin for LinearQuantizeBins
impl UnwindSafe for LinearQuantizeBins
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)