cpu_ops.h 243 Bytes
Newer Older
Max Ryabinin's avatar
Max Ryabinin committed
1
2
3
4
5
6
7
8
9
#ifndef BITSANDBYTES_CPU_OPS_H
#define BITSANDBYTES_CPU_OPS_H


void quantize_cpu(float *code, float *A, float *absmax, unsigned char *out, int n);

void dequantize_cpu(float *code, unsigned char *A, float *absmax, float *out, int n);

#endif