def array_sample
import stelliferous@0.0.2.0/proofs/traversal_witness.bend as TraversalWitnessimport Base
import stelliferous@0.0.2.0/proofs/storage_witness.bend as Witness
73def array_sample(~Element: Data,-storage: Array<Element>,-result: Array<Element> & Element,
74 read: Witness.Read<Element,storage,result>) -> Sample<Array<Element>,Element,storage,result>:
75 match read:
76 case Witness.Read{value,equation}: Sample{value,equation}
Uses (4)
Used by (5)
- stelliferous@0.0.2.0/proofs/kernel_weights_witness:conditional
- stelliferous@0.0.2.0/proofs/traversal_witness:offset_read
- stelliferous@0.0.2.0/proofs/tensor_indexed_certificate:read
- stelliferous@0.0.2.0/proofs/tensor_access_certificate:read_index
- stelliferous@0.0.2.0/proofs/tensor_access_certificate:window_read_sample