Compute Library
 21.05
Validate.h File Reference

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...
 

Macro Definition Documentation

◆ ARM_COMPUTE_ERROR_ON_CPU_BF16_UNSUPPORTED

#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.

◆ ARM_COMPUTE_ERROR_ON_CPU_F16_UNSUPPORTED

#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.

◆ ARM_COMPUTE_RETURN_ERROR_ON_CPU_BF16_UNSUPPORTED

#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.

◆ ARM_COMPUTE_RETURN_ERROR_ON_CPU_F16_UNSUPPORTED

#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.