MCPcopy Create free account
hub / github.com/ddkang/zkml / PackerConfig

Class PackerConfig

src/commitments/packer.rs:23–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21const NUM_BITS_PER_FIELD_ELEM: usize = 254;
22
23pub struct PackerConfig<F: PrimeField> {
24 pub num_bits_per_elem: usize,
25 pub num_elem_per_packed: usize,
26 pub num_packed_per_row: usize,
27 pub exponents: Vec<F>,
28 _marker: PhantomData<F>,
29}
30
31pub struct PackerChip<F: PrimeField> {
32 pub config: PackerConfig<F>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected