Crate caffe2_common

source ·

Macros

Structs

Enums

  • | Storage orders that are often used in | the image applications. |

Constants

Traits

  • | cudnnTypeWrapper is a wrapper class | that allows us to refer to the cudnn type | in a template function. The class is | specialized explicitly for different | data types below. |
  • | at::Half is defined in | c10/util/Half.h. Currently half float operators | are mainly on CUDA gpus. | | The reason we do not directly use the cuda | __half data type is because that requires | compilation with nvcc. The float16 data type | should be compatible with the cuda __half data | type, but will allow us to refer to the data | type without the need of cuda.
  • | SkipIndices are used in | operator_fallback_gpu.h and | operator_fallback_mkl.h as utility functions | that marks input / output indices to skip when | we use a CPU operator as the fallback of | GPU/MKL operator option. | | note: this is supposed to be a variadic | template

Functions

Type Definitions