宏定义 | |
| #define | GET_VECTOR(fname, sg_type, datatype) |
| #define | GET_MATRIX(fname, sg_type, datatype) |
| #define | GET_NDARRAY(fname, sg_type, datatype) |
| #define | GET_SPARSEMATRIX(fname, sg_type, datatype) |
| #define | GET_STRING_LIST(fname, sg_type, datatype) |
| #define | SET_VECTOR(fname, sg_type, dtype) |
| #define | SET_MATRIX(fname, sg_type, dtype) |
| #define | SET_NDARRAY(fname, sg_type, datatype) |
| #define | SET_SPARSEMATRIX(fname, sg_type, dtype) |
| #define | SET_STRING_LIST(fname, sg_type, dtype) |
函数 | |
| GET_NDARRAY (get_ndarray, uint8_t, TSGDataType(CT_NDARRAY, ST_NONE, PT_UINT8)) | |
| GET_NDARRAY (get_ndarray, char, TSGDataType(CT_NDARRAY, ST_NONE, PT_CHAR)) | |
| GET_NDARRAY (get_ndarray, int32_t, TSGDataType(CT_NDARRAY, ST_NONE, PT_INT32)) | |
| GET_NDARRAY (get_ndarray, int16_t, TSGDataType(CT_NDARRAY, ST_NONE, PT_INT16)) | |
| GET_NDARRAY (get_ndarray, uint16_t, TSGDataType(CT_NDARRAY, ST_NONE, PT_UINT16)) | |
| GET_NDARRAY (get_ndarray, float32_t, TSGDataType(CT_NDARRAY, ST_NONE, PT_FLOAT32)) | |
| GET_NDARRAY (get_ndarray, float64_t, TSGDataType(CT_NDARRAY, ST_NONE, PT_FLOAT64)) | |
| SET_NDARRAY (set_ndarray, uint8_t,(CT_NDARRAY, ST_NONE, PT_UINT8)) | |
| SET_NDARRAY (set_ndarray, char,(CT_NDARRAY, ST_NONE, PT_CHAR)) | |
| SET_NDARRAY (set_ndarray, int32_t,(CT_NDARRAY, ST_NONE, PT_INT32)) | |
| SET_NDARRAY (set_ndarray, int16_t,(CT_NDARRAY, ST_NONE, PT_INT16)) | |
| SET_NDARRAY (set_ndarray, uint16_t,(CT_NDARRAY, ST_NONE, PT_UINT16)) | |
| SET_NDARRAY (set_ndarray, float32_t,(CT_NDARRAY, ST_NONE, PT_FLOAT32)) | |
| SET_NDARRAY (set_ndarray, float64_t,(CT_NDARRAY, ST_NONE, PT_FLOAT64)) | |
| #define GET_MATRIX | ( | fname, | |
| sg_type, | |||
| datatype | |||
| ) |
在文件 BinaryFile.cpp 第 68 行定义.
| #define GET_NDARRAY | ( | fname, | |
| sg_type, | |||
| datatype | |||
| ) |
在文件 BinaryFile.cpp 第 99 行定义.
| #define GET_SPARSEMATRIX | ( | fname, | |
| sg_type, | |||
| datatype | |||
| ) |
在文件 BinaryFile.cpp 第 137 行定义.
| #define GET_STRING_LIST | ( | fname, | |
| sg_type, | |||
| datatype | |||
| ) |
在文件 BinaryFile.cpp 第 182 行定义.
| #define GET_VECTOR | ( | fname, | |
| sg_type, | |||
| datatype | |||
| ) |
在文件 BinaryFile.cpp 第 38 行定义.
| #define SET_MATRIX | ( | fname, | |
| sg_type, | |||
| dtype | |||
| ) |
在文件 BinaryFile.cpp 第 256 行定义.
| #define SET_NDARRAY | ( | fname, | |
| sg_type, | |||
| datatype | |||
| ) |
在文件 BinaryFile.cpp 第 283 行定义.
| #define SET_SPARSEMATRIX | ( | fname, | |
| sg_type, | |||
| dtype | |||
| ) |
在文件 BinaryFile.cpp 第 319 行定义.
| #define SET_STRING_LIST | ( | fname, | |
| sg_type, | |||
| dtype | |||
| ) |
在文件 BinaryFile.cpp 第 355 行定义.
| #define SET_VECTOR | ( | fname, | |
| sg_type, | |||
| dtype | |||
| ) |
set functions - to pass data from shogun to the target interface
在文件 BinaryFile.cpp 第 230 行定义.
| GET_NDARRAY | ( | get_ndarray | , |
| uint8_t | , | ||
| TSGDataType(CT_NDARRAY, ST_NONE, PT_UINT8) | |||
| ) |
| GET_NDARRAY | ( | get_ndarray | , |
| char | , | ||
| TSGDataType(CT_NDARRAY, ST_NONE, PT_CHAR) | |||
| ) |
| GET_NDARRAY | ( | get_ndarray | , |
| int32_t | , | ||
| TSGDataType(CT_NDARRAY, ST_NONE, PT_INT32) | |||
| ) |
| GET_NDARRAY | ( | get_ndarray | , |
| int16_t | , | ||
| TSGDataType(CT_NDARRAY, ST_NONE, PT_INT16) | |||
| ) |
| GET_NDARRAY | ( | get_ndarray | , |
| uint16_t | , | ||
| TSGDataType(CT_NDARRAY, ST_NONE, PT_UINT16) | |||
| ) |
| GET_NDARRAY | ( | get_ndarray | , |
| float32_t | , | ||
| TSGDataType(CT_NDARRAY, ST_NONE, PT_FLOAT32) | |||
| ) |
| GET_NDARRAY | ( | get_ndarray | , |
| float64_t | , | ||
| TSGDataType(CT_NDARRAY, ST_NONE, PT_FLOAT64) | |||
| ) |
| SET_NDARRAY | ( | set_ndarray | , |
| uint8_t | , | ||
| (CT_NDARRAY, ST_NONE, PT_UINT8) | |||
| ) |
| SET_NDARRAY | ( | set_ndarray | , |
| char | , | ||
| (CT_NDARRAY, ST_NONE, PT_CHAR) | |||
| ) |
| SET_NDARRAY | ( | set_ndarray | , |
| int32_t | , | ||
| (CT_NDARRAY, ST_NONE, PT_INT32) | |||
| ) |
| SET_NDARRAY | ( | set_ndarray | , |
| int16_t | , | ||
| (CT_NDARRAY, ST_NONE, PT_INT16) | |||
| ) |
| SET_NDARRAY | ( | set_ndarray | , |
| uint16_t | , | ||
| (CT_NDARRAY, ST_NONE, PT_UINT16) | |||
| ) |
| SET_NDARRAY | ( | set_ndarray | , |
| float32_t | , | ||
| (CT_NDARRAY, ST_NONE, PT_FLOAT32) | |||
| ) |
| SET_NDARRAY | ( | set_ndarray | , |
| float64_t | , | ||
| (CT_NDARRAY, ST_NONE, PT_FLOAT64) | |||
| ) |