/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/ |
A D | tensor_utils_common.h | 315 for (int v = 0; v < v_size; v++) { in VectorVectorCwiseProduct() 327 for (int v = 0; v < v_size; v++) { in VectorVectorCwiseProductAccumulate() 356 vector1 += v_size; in BatchVectorBatchVectorDotProduct() 357 vector2 += v_size; in BatchVectorBatchVectorDotProduct() 374 result += v_size; in VectorBatchVectorCwiseProduct() 375 batch_vector += v_size; in VectorBatchVectorCwiseProduct() 389 result += v_size; in VectorBatchVectorCwiseProductAccumulate() 390 batch_vector += v_size; in VectorBatchVectorCwiseProductAccumulate() 405 for (int i = 0; i < v_size; ++i) { in VectorBatchVectorAdd() 408 batch_vector += v_size; in VectorBatchVectorAdd() [all …]
|
A D | tensor_utils.h | 144 for (int v = 0; v < v_size; v++) { in ApplyReluToVector() 152 for (int v = 0; v < v_size; v++) { in ApplyRelu1ToVector() 160 for (int v = 0; v < v_size; v++) { in ApplyRelu6ToVector() 170 VectorMap output_map(result, v_size); in ApplyTanhToVector() 177 for (int v = 0; v < v_size; v++) { in ApplySignbitToVector() 187 VectorMap output_map(result, v_size); in ApplySigmoidToVector() 193 int v_size, in ApplyActivationToVector() argument 200 return ApplyReluToVector(vector, v_size, result); in ApplyActivationToVector() 202 return ApplyRelu1ToVector(vector, v_size, result); in ApplyActivationToVector() 204 return ApplyRelu6ToVector(vector, v_size, result); in ApplyActivationToVector() [all …]
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/optimized/ |
A D | neon_tensor_utils.h | 198 void CwiseClipping(float* vector, const int v_size, in CwiseClipping() argument 202 void CwiseClipping(int16_t* vector, const int v_size, in CwiseClipping() argument 206 void CwiseClipping(int8_t* vector, const int v_size, in CwiseClipping() argument 227 int v_size) { in VectorVectorDotProduct() argument 231 void Sub1Vector(const float* vector, int v_size, float* result) { in Sub1Vector() argument 232 NEON_OR_PORTABLE(Sub1Vector, vector, v_size, result); in Sub1Vector() 236 NEON_OR_PORTABLE(Sub1Vector, vector, v_size, result); in Sub1Vector() 240 bool IsZeroVector(const float* vector, int v_size) { in IsZeroVector() argument 241 return NEON_OR_PORTABLE(IsZeroVector, vector, v_size); in IsZeroVector() 245 bool IsZeroVector(const int8_t* vector, int v_size) { in IsZeroVector() argument [all …]
|
A D | sse_tensor_utils.h | 206 void CwiseClipping(float* vector, const int v_size, in CwiseClipping() argument 208 PortableCwiseClipping(vector, v_size, clipping_value); in CwiseClipping() 211 void CwiseClipping(int16_t* vector, const int v_size, in CwiseClipping() argument 213 PortableCwiseClipping(vector, v_size, clipping_value); in CwiseClipping() 216 void CwiseClipping(int8_t* vector, const int v_size, in CwiseClipping() argument 237 int v_size) { in VectorVectorDotProduct() argument 242 NEON_OR_PORTABLE(Sub1Vector, vector, v_size, result); in Sub1Vector() 246 PortableSub1Vector(vector, v_size, result); in Sub1Vector() 250 bool IsZeroVector(const float* vector, int v_size) { in IsZeroVector() argument 255 bool IsZeroVector(const int8_t* vector, int v_size) { in IsZeroVector() argument [all …]
|
A D | neon_tensor_utils_impl.h | 83 void NeonCwiseClipping(float* vector, const int v_size, 85 void NeonCwiseClipping(int16_t* vector, const int v_size, 87 void NeonCwiseClipping(int8_t* vector, const int v_size, 127 int v_size); 130 void NeonSub1Vector(const float* vector, int v_size, float* result); 132 void NeonSub1Vector(const int16_t* vector, int v_size, int16_t* result); 135 void NeonVectorScalarMultiply(const int8_t* vector, int v_size, float scale, 139 bool NeonIsZeroVector(const float* vector, int v_size); 142 bool NeonIsZeroVector(const int8_t* vector, int v_size); 172 const int16_t* vector, int v_size, const int16_t* batch_vector, int n_batch, [all …]
|
A D | neon_tensor_utils.cc | 1853 for (; TFLITE_UNLIKELY(i < v_size); i++) { in NeonCwiseClipping() 1875 for (; TFLITE_UNLIKELY(i < v_size); i++) { in NeonCwiseClipping() 1898 for (; TFLITE_UNLIKELY(i < v_size); i++) { in NeonCwiseClipping() 2063 for (; TFLITE_UNLIKELY(v < v_size); v++) { in NeonSub1Vector() 2080 for (; TFLITE_UNLIKELY(i < v_size); i++) { in NeonSub1Vector() 2135 for (; TFLITE_UNLIKELY(v < v_size); ++v) { in NeonIsZeroVector() 2154 for (; TFLITE_UNLIKELY(v < v_size); ++v) { in NeonIsZeroVector() 2523 for (; v <= v_size - 16; v += 16) { in NeonVectorBatchVectorCwiseProductAccumulate() 2609 const float mean = sum / v_size; in NeonMeanStddevNormalization() 2684 input_vector += v_size; in NeonMeanStddevNormalization() [all …]
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/reference/ |
A D | portable_tensor_utils.h | 28 bool IsZeroVector(const float* vector, int v_size) { in IsZeroVector() argument 29 return PortableIsZeroVector(vector, v_size); in IsZeroVector() 33 bool IsZeroVector(const int8_t* vector, int v_size) { in IsZeroVector() argument 34 return PortableIsZeroVector(vector, v_size); in IsZeroVector() 230 void CwiseClipping(float* vector, const int v_size, in CwiseClipping() argument 232 PortableCwiseClipping(vector, v_size, clipping_value); in CwiseClipping() 235 void CwiseClipping(int16_t* vector, const int v_size, in CwiseClipping() argument 240 void CwiseClipping(int8_t* vector, const int v_size, in CwiseClipping() argument 254 int v_size) { in VectorVectorDotProduct() argument 266 PortableSub1Vector(vector, v_size, result); in Sub1Vector() [all …]
|
A D | portable_tensor_utils_impl.h | 34 bool PortableIsZeroVector(const T* vector, int v_size) { in PortableIsZeroVector() argument 35 for (int i = 0; i < v_size; ++i) { in PortableIsZeroVector() 97 int v_size); 101 int v_size, int n_batch, 105 const int16_t* vector, int v_size, const int16_t* batch_vector, int n_batch, 176 void PortableCwiseClipping(T* vector, const int v_size, in PortableCwiseClipping() argument 178 for (int i = 0; i < v_size; i++) { in PortableCwiseClipping() 185 void PortableVectorBatchVectorAssign(const float* vector, int v_size, 189 void PortableSub1Vector(const float* vector, int v_size, float* result); 191 void PortableSub1Vector(const int16_t* vector, int v_size, int16_t* result); [all …]
|
A D | portable_tensor_utils.cc | 655 for (int v = 0; v < v_size; v++) { in PortableVectorVectorDotProduct() 665 for (int v = 0; v < v_size; v++) { in VectorVectorDotProduct() 678 vector1 += v_size; in PortableBatchVectorBatchVectorDotProduct() 679 vector2 += v_size; in PortableBatchVectorBatchVectorDotProduct() 687 for (int v = 0; v < v_size; v++) { in PortableVectorBatchVectorCwiseProductAccumulate() 699 for (int v = 0; v < v_size; v++) { in PortableSub1Vector() 706 for (int v = 0; v < v_size; v++) { in PortableSub1Vector() 713 for (int v = 0; v < v_size; ++v) { in PortableVectorScalarMultiply() 726 const float mean = sum / v_size; in PortableMeanStddevNormalization() 739 input_vector += v_size; in PortableMeanStddevNormalization() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/Xcode/Frameworks/webp.framework/Versions/A/Headers/webp/ |
A D | decode.h | 135 uint8_t* v, size_t v_size, int v_stride); 198 size_t u_size, v_size; // chroma planes size member 316 uint8_t* v, size_t v_size, int v_stride, 324 uint8_t* v, size_t v_size, int v_stride);
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/webp/ |
A D | decode.h | 135 uint8_t* v, size_t v_size, int v_stride); 198 size_t u_size, v_size; // chroma planes size member 316 uint8_t* v, size_t v_size, int v_stride, 324 uint8_t* v, size_t v_size, int v_stride);
|
/AliOS-Things-master/components/SDL2/src/image/VisualC/external/include/webp/ |
A D | decode.h | 135 uint8_t* v, size_t v_size, int v_stride); 198 size_t u_size, v_size; // chroma planes size member 316 uint8_t* v, size_t v_size, int v_stride, 324 uint8_t* v, size_t v_size, int v_stride);
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dec/ |
A D | buffer_dec.c | 58 const uint64_t v_size = MIN_BUFFER_SIZE(uv_width, uv_height, v_stride); in CheckDecBuffer() local 62 ok &= (v_size <= buf->v_size); in CheckDecBuffer() 137 buf->v_size = (size_t)uv_size; in AllocateBuffer()
|
A D | idec_dec.c | 713 uint8_t* v, size_t v_size, int v_stride, in WebPINewYUVA() argument 720 luma_size = u_size = v_size = a_size = 0; in WebPINewYUVA() 726 if (luma_size == 0 || u_size == 0 || v_size == 0) return NULL; in WebPINewYUVA() 747 idec->output_.u.YUVA.v_size = v_size; in WebPINewYUVA() 756 uint8_t* v, size_t v_size, int v_stride) { in WebPINewYUV() argument 759 v, v_size, v_stride, in WebPINewYUV()
|
A D | webp_dec.c | 578 uint8_t* v, size_t v_size, int v_stride) { in WebPDecodeYUVInto() argument 594 output.u.YUVA.v_size = v_size; in WebPDecodeYUVInto()
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/examples/ |
A D | dwebp.c | 171 output_buffer->u.YUVA.v_size = uv_stride * (h + 1) / 2; in AllocateExternalBuffer() 172 tmp += output_buffer->u.YUVA.v_size; in AllocateExternalBuffer()
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/imageio/ |
A D | webpdec.c | 209 output_buffer->u.YUVA.v_size = (pic->height + 1) / 2 * pic->uv_stride; in ReadWebP()
|