Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Tetragramm
GitHub Repository: Tetragramm/opencv
Path: blob/master/modules/dnn/src/torch/THGeneral.h
16337 views
1
#ifndef TH_GENERAL_INC
2
#define TH_GENERAL_INC
3
4
#include <stdlib.h>
5
#include <stdio.h>
6
#include <stdarg.h>
7
#include <math.h>
8
#include <limits.h>
9
#include <float.h>
10
#include <time.h>
11
#include <string.h>
12
13
#define TH_API
14
15
#define THError(...) CV_Error(cv::Error::StsError, cv::format(__VA_ARGS__))
16
#define THArgCheck(cond, ...) CV_Assert(cond)
17
18
#define THAlloc malloc
19
#define THRealloc realloc
20
#define THFree free
21
22
#endif
23
24