enum

Crig::Providers::OpenRouter::Quantization

Inherits Enum < Comparable < Value < Object

Constants

Int4 = 0
Int8 = 1
Fp16 = 2
Bf16 = 3
Fp32 = 4
Fp8 = 5
Unknown = 6

Constructors

from_json_value(value : JSON::Any) : self
Source

Instance methods

bf16?

Returns true if this enum value equals Bf16

Source
fp16?

Returns true if this enum value equals Fp16

Source
fp32?

Returns true if this enum value equals Fp32

Source
fp8?

Returns true if this enum value equals Fp8

Source
int4?

Returns true if this enum value equals Int4

Source
int8?

Returns true if this enum value equals Int8

Source
to_wire
Source
unknown?

Returns true if this enum value equals Unknown

Source