-#ifndef CAFFE2_ACTIVATION_DISTRIBUTION_OBSERVER_H
-#define CAFFE2_ACTIVATION_DISTRIBUTION_OBSERVER_H
+#pragma once
#include "caffe2/core/observer.h"
#include "caffe2/core/operator.h"
};
} // namespace caffe2
-
-#endif // CAFFE2_ACTIVATION_DISTRIBUTION_OBSERVER_H
-#ifndef DEEPLEARNING_QUANTIZATION_CAFFE2_BATCH_PERMUTATION_DNNLOWP_OP_H_
-#define DEEPLEARNING_QUANTIZATION_CAFFE2_BATCH_PERMUTATION_DNNLOWP_OP_H_
+#pragma once
#include "caffe2/fb/operators/batch_permutation_op.h"
#include "caffe2/quantization/server/dnnlowp_op.h"
};
} // namespace caffe2
-
-#endif // DEEPLEARNING_QUANTIZATION_CAFFE2_BATCH_PERMUTATION_DNNLOWP_OP_H_
-#ifndef CAFFE2_OPERATORS_CONV_RELU_OP_H_
-#define CAFFE2_OPERATORS_CONV_RELU_OP_H_
+#pragma once
#include "caffe2/operators/conv_op.h"
#include "caffe2/operators/conv_pool_op_base.h"
}; // class ConvReluOp
} // namespace caffe2
-
-#endif // CAFFE2_OPERATORS_CONV_RELU_OP_H_
-#ifndef CAFFE2_OPERATORS_DEQUANTIZE_DNNLOWP_OP_H
-#define CAFFE2_OPERATORS_DEQUANTIZE_DNNLOWP_OP_H
+#pragma once
#include "caffe2/core/operator.h"
#include "caffe2/quantization/server/dnnlowp.h"
}; // class DequantizeDNNLowPOp
} // namespace caffe2
-
-#endif // CAFFE2_OPERATORS_DEQUANTIZE_DNNLOWP_OP_H
-#ifndef DYNAMIC_HISTOGRAM_H
-#define DYNAMIC_HISTOGRAM_H
+#pragma once
#include <memory>
#include <vector>
}; // class DynamicHistogram
} // namespace dnnlowp
-
-#endif // DYNAMIC_HISTOGRAM_H
-#ifndef CAFFE2_OPERATORS_ELEMENTWISE_DNNLOWP_OP_H_
-#define CAFFE2_OPERATORS_ELEMENTWISE_DNNLOWP_OP_H_
+#pragma once
#include "caffe2/core/tensor_int8.h"
#include "caffe2/operators/elementwise_ops.h"
} \
};
} // namespace caffe2
-
-#endif // CAFFE2_OPERATORS_ELEMENTWISE_DNNLOWP_OP_H_
* limitations under the License.
*/
-#ifndef CAFFE2_OPERATORS_FULLY_CONNECTED_FP16_OP_H_
-#define CAFFE2_OPERATORS_FULLY_CONNECTED_FP16_OP_H_
+#pragma once
#include <immintrin.h>
#include "caffe2/core/context.h"
};
} // namespace caffe2
-
-#endif // CAFFE2_OPERATORS_FULLY_CONNECTED_FP16_OP_H_
-#ifndef DEEPLEARNING_QUANTIZATION_CAFFE2_GROUP_NORM_DNNLOWP_OP_H_
-#define DEEPLEARNING_QUANTIZATION_CAFFE2_GROUP_NORM_DNNLOWP_OP_H_
+#pragma once
#include <vector>
};
} // namespace caffe2
-
-#endif // DEEPLEARNING_QUANTIZATION_CAFFE2_GROUP_NORM_DNNLOWP_OP_H_
-#ifndef DNNLOWP_KL_MINIMIZATION_H
-#define DNNLOWP_KL_MINIMIZATION_H
+#pragma once
#include "quantization_error_minimization.h"
};
} // namespace dnnlowp
-
-#endif // DNNLOWP_KL_MINIMIZATION_H
-#ifndef DNNLOWP_L2_MINIMIZATION_H
-#define DNNLOWP_L2_MINIMIZATION_H
+#pragma once
#include "quantization_error_minimization.h"
int start_bin);
} // namespace dnnlowp
-
-#endif // DNNLOWP_L2_MINIMIZATION_H
-#ifndef DEEPLEARNING_QUANTIZATION_CAFFE2_RESIZE_NEAREST_DNNLOWP_OP_H_
-#define DEEPLEARNING_QUANTIZATION_CAFFE2_RESIZE_NEAREST_DNNLOWP_OP_H_
+#pragma once
#include "caffe2/operators/resize_op.h"
#include "caffe2/quantization/server/dnnlowp_op.h"
};
} // namespace caffe2
-
-#endif // DEEPLEARNING_QUANTIZATION_CAFFE2_RESIZE_NEAREST_DNNLOWP_OP_H_
-#ifndef DNNLOWP_SIGMOID_H
-#define DNNLOWP_SIGMOID_H
+#pragma once
#include "tanh.h"
}; // class Sigmoid
} // namespace dnnlowp
-
-#endif // DNNLOWP_SIGMOID_H
-#ifndef DNNLOWP_TANH_H
-#define DNNLOWP_TANH_H
+#pragma once
#include "dnnlowp.h"
}; // class TanhApproximation
} // namespace dnnlowp
-
-#endif