reid from https://github.com/michuanhaohao/reid-strong-baseline
zhangmeng
2020-01-11 bdf3ad71583fb4ef100d3819ecdae8fd9f70083e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once
#include <cstdint>
 
namespace c10 {
 
/**
 * qint8 is for signed 8 bit quantized Tensors
 */
struct alignas(1) quint8 {
  using underlying = uint8_t;
  uint8_t val_;
  explicit quint8(uint8_t val) : val_(val) {}
};
 
} // namespace c10