Lines Matching refs:int16_t

34     const int16_t output_max = std::numeric_limits<T>::max();  in MatrixBatchVectorMultiplyAccumulate()
35 const int16_t output_min = std::numeric_limits<T>::min(); in MatrixBatchVectorMultiplyAccumulate()
136 void ApplyLayerNorm(const int16_t* input, const int16_t* layer_norm_weights, const int32_t* bias,
138 int n_batch, int n_input, int16_t* output);
147 void ApplySigmoid(const int16_t* input, int32_t n_batch, int32_t n_input, int16_t* output);
150 void ApplyTanh(const int16_t* input, int32_t n_batch, int32_t n_input, int16_t* output) { in ApplyTanh()
151 using FX = gemmlowp::FixedPoint<std::int16_t, IntegerBits>; in ApplyTanh()
152 using F0 = gemmlowp::FixedPoint<std::int16_t, 0>; in ApplyTanh()
163 inline void ApplyTanh(int32_t integer_bits, const int16_t* input, int32_t n_batch, int32_t n_input, in ApplyTanh()
164 int16_t* output) { in ApplyTanh()
184 void CwiseMul(const int16_t* input_1, const int16_t* input_2, int n_batch, int n_input, int shift,
185 int16_t* output);
186 void CwiseMul(const int16_t* input_1, const int16_t* input_2, int32_t multiplier, int32_t shift,
191 void CwiseAdd(const int16_t* input_1, const int16_t* input_2, int n_batch, int n_input,
192 int16_t* output);
194 inline void Sub1Vector(const int16_t* vector, int v_size, int16_t* result) { in Sub1Vector()
195 static const int16_t kOne = 32767; in Sub1Vector()
201 void CwiseClipping(int16_t* input, const int16_t clipping_value, int32_t n_batch, int32_t n_input);
205 void VectorBatchVectorCwiseProductAccumulate(const int16_t* vector, int v_size,
206 const int16_t* batch_vector, int n_batch,
207 int32_t multiplier, int shift, int16_t* result);