pytorch  1.8.2
About: PyTorch provides Tensor computation (like NumPy) with strong GPU acceleration and Deep Neural Networks (in Python) built on a tape-based autograd system. LTS (Long Term Support) release.
  Fossies Dox: pytorch-1.8.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

common.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PYTORCH_QNNP_UNREACHABLE
 
#define PYTORCH_QNNP_ALIGN(alignment)   __attribute__((__aligned__(alignment)))
 
#define PYTORCH_QNNP_COUNT_OF(array)   (sizeof(array) / sizeof(0 [array]))
 
#define PYTORCH_QNNP_LIKELY(condition)   (!!(condition))
 
#define PYTORCH_QNNP_UNLIKELY(condition)   (!!(condition))
 
#define PYTORCH_QNNP_INLINE   inline
 
#define PYTORCH_QNNP_INTERNAL
 
#define PYTORCH_QNNP_PRIVATE
 
#define RESTRICT_STATIC   restrict static
 

Macro Definition Documentation

◆ PYTORCH_QNNP_ALIGN

#define PYTORCH_QNNP_ALIGN (   alignment)    __attribute__((__aligned__(alignment)))

Definition at line 34 of file common.h.

◆ PYTORCH_QNNP_COUNT_OF

#define PYTORCH_QNNP_COUNT_OF (   array)    (sizeof(array) / sizeof(0 [array]))

Definition at line 37 of file common.h.

◆ PYTORCH_QNNP_INLINE

#define PYTORCH_QNNP_INLINE   inline

Definition at line 50 of file common.h.

◆ PYTORCH_QNNP_INTERNAL

#define PYTORCH_QNNP_INTERNAL

Definition at line 59 of file common.h.

◆ PYTORCH_QNNP_LIKELY

#define PYTORCH_QNNP_LIKELY (   condition)    (!!(condition))

Definition at line 43 of file common.h.

◆ PYTORCH_QNNP_PRIVATE

#define PYTORCH_QNNP_PRIVATE

Definition at line 69 of file common.h.

◆ PYTORCH_QNNP_UNLIKELY

#define PYTORCH_QNNP_UNLIKELY (   condition)    (!!(condition))

Definition at line 44 of file common.h.

◆ PYTORCH_QNNP_UNREACHABLE

#define PYTORCH_QNNP_UNREACHABLE
Value:
do { \
} while (0)

Definition at line 26 of file common.h.

◆ RESTRICT_STATIC

#define RESTRICT_STATIC   restrict static

Definition at line 77 of file common.h.