21.02
|
#include "arm_compute/core/Validate.h"
Go to the source code of this file.
Namespaces | |
arm_compute | |
Copyright (c) 2017-2021 Arm Limited. | |
Macros | |
#define | ARM_COMPUTE_ERROR_ON_CPU_F16_UNSUPPORTED(tensor) ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_unsupported_cpu_fp16(__func__, __FILE__, __LINE__, tensor)) |
#define | ARM_COMPUTE_RETURN_ERROR_ON_CPU_F16_UNSUPPORTED(tensor) ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_unsupported_cpu_fp16(__func__, __FILE__, __LINE__, tensor)) |
#define | ARM_COMPUTE_ERROR_ON_CPU_BF16_UNSUPPORTED(tensor) ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_unsupported_cpu_bf16(__func__, __FILE__, __LINE__, tensor)) |
#define | ARM_COMPUTE_RETURN_ERROR_ON_CPU_BF16_UNSUPPORTED(tensor) ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_unsupported_cpu_bf16(__func__, __FILE__, __LINE__, tensor)) |
Functions | |
Status | error_on_unsupported_cpu_fp16 (const char *function, const char *file, const int line, const ITensorInfo *tensor_info) |
Return an error if the data type of the passed tensor info is FP16 and FP16 support is not compiled in. More... | |
Status | error_on_unsupported_cpu_bf16 (const char *function, const char *file, const int line, const ITensorInfo *tensor_info) |
Return an error if the data type of the passed tensor info is BFLOAT16 and BFLOAT16 support is not compiled in. More... | |
Status | error_on_unsupported_cpu_fp16 (const char *function, const char *file, const int line, const ITensor *tensor) |
Return an error if the data type of the passed tensor is FP16 and FP16 support is not compiled in. More... | |
Status | error_on_unsupported_cpu_bf16 (const char *function, const char *file, const int line, const ITensor *tensor) |
Return an error if the data type of the passed tensor is BFLOAT16 and BFLOAT16 support is not compiled in. More... | |
#define ARM_COMPUTE_ERROR_ON_CPU_BF16_UNSUPPORTED | ( | tensor | ) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_unsupported_cpu_bf16(__func__, __FILE__, __LINE__, tensor)) |
Definition at line 111 of file Validate.h.
#define ARM_COMPUTE_ERROR_ON_CPU_F16_UNSUPPORTED | ( | tensor | ) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_unsupported_cpu_fp16(__func__, __FILE__, __LINE__, tensor)) |
Definition at line 105 of file Validate.h.
Referenced by NEROIPoolingLayerKernel::configure().
#define ARM_COMPUTE_RETURN_ERROR_ON_CPU_BF16_UNSUPPORTED | ( | tensor | ) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_unsupported_cpu_bf16(__func__, __FILE__, __LINE__, tensor)) |
Definition at line 114 of file Validate.h.
Referenced by NEGEMMAssemblyDispatch::validate(), and NEGEMM::validate().
#define ARM_COMPUTE_RETURN_ERROR_ON_CPU_F16_UNSUPPORTED | ( | tensor | ) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_unsupported_cpu_fp16(__func__, __FILE__, __LINE__, tensor)) |
Definition at line 108 of file Validate.h.
Referenced by CpuLogits1DMaxKernel::name(), CpuElementwiseUnaryKernel::validate(), NESelectKernel::validate(), CpuPoolingAssemblyWrapperKernel::validate(), ClCropKernel::validate(), NECropKernel::validate(), NEDepthwiseConvolutionAssemblyDispatch::validate(), NEGEMMAssemblyDispatch::validate(), and NEGEMM::validate().