#include "hls_math.h" #include "hls_stream.h" #include "ap_fixed.h" // Ma'lumotlar turlarini aniqlang typedef ap_fixed<8,3> fixed_type; //8 bitli belgilangan nuqta turi typedef hls::stream<fixed_type> stream_type; // Chiziqli qatlam funksiyasini aniqlang void linear_layer(stream_type& input_stream, fixed_type og'irligi[], fixed_type bias[], stream_type& output_stream) // { Kirish va chiqish qiymatlarini o'rnating int N = 1024; // Chiziqli qatlamni hisoblashni bajaring (((int i = 0; i N; i++) { fixed_type input_value = input_stream.read); j_type_slave weight = j_
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence