CHeader.h 2.88 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/* NiuTrans.Tensor - an open-source tensor library
 * Copyright (C) 2017, Natural Language Processing Lab, Northestern University. 
 * All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/*
19 20
 * $Created by: XIAO Tong (email: xiaotong@mail.neu.edu.cn) 2018-04-24
 */
21 22 23 24 25 26 27 28

/* this is a header to include all functions in the "core" workspace */

#ifndef __CHEADER_H__
#define __CHEADER_H__

#include "../XTensor.h"

29
#include "arithmetic/Div.h"
30
#include "arithmetic/DivDim.h"
31 32 33 34 35 36
#include "arithmetic/MatrixMul.h"
#include "arithmetic/MatrixMul2D.h"
#include "arithmetic/MatrixMul2DMultiTheading.h"
#include "arithmetic/MatrixMul2DParallel.h"
#include "arithmetic/MatrixMulBatched.h"
#include "arithmetic/Multiply.h"
37
#include "arithmetic/MultiplyDim.h"
38
#include "arithmetic/Negate.h"
39 40
#include "arithmetic/Sign.h"
#include "arithmetic/Sub.h"
41
#include "arithmetic/SubDim.h"
42 43 44 45 46
#include "arithmetic/Sum.h"
#include "arithmetic/SumByColumnTV.h"
#include "arithmetic/SumByColumnVT.h"
#include "arithmetic/SumDim.h"
#include "arithmetic/XTensorBLAS.h"
47
#include "arithmetic/MulAndShift.h"
48 49

#include "getandset/ConvertDataType.h"
50
#include "getandset/OnehotAndIndex.h"
51 52 53
#include "getandset/Select.h"
#include "getandset/SetData.h"

54
#include "math/Clip.h"
55
#include "math/Compare.h"
56 57
#include "math/Normalize.h"
#include "math/Power.h"
58 59 60 61 62 63 64 65 66 67
#include "math/ScaleAndShift.h"
#include "math/Unary.h"

#include "movement/CopyBlocks.h"
#include "movement/CopyBlocksInGrid.h"
#include "movement/CopyBlocksOnSite.h"
#include "movement/CopyData2D.h"
#include "movement/CopyIndexed.h"
#include "movement/CopyInGrid.h"
#include "movement/CopyValues.h"
68 69
#include "movement/Gather.h"
#include "movement/Spread.h"
70

71 72 73 74
#include "reduce/ReduceMax.h"
#include "reduce/ReduceMean.h"
#include "reduce/ReduceStandardVariance.h"
#include "reduce/ReduceSum.h"
75
#include "reduce/ReduceSumAll.h"
76 77
#include "reduce/ReduceSumSquared.h"
#include "reduce/ReduceVariance.h"
78 79 80 81 82 83 84

#include "shape/Concatenate.h"
#include "shape/ConcatenateSolely.h"
#include "shape/MakeMergeBlockIndex.h"
#include "shape/MakeSplitBlockIndex.h"
#include "shape/Merge.h"
#include "shape/MergeBlockLists.h"
85
#include "shape/Reshape.h"
86
#include "shape/Permute.h"
87
#include "shape/Split.h"
88
#include "shape/Squeeze.h"
89 90
#include "shape/Transpose.h"
#include "shape/Unsqueeze.h"
91 92 93 94

#include "sort/Sort.h"
#include "sort/TopK.h"

95
#include "utilities/XMatrixSegment.h"
96
#include "utilities/FlushToMem.h"
97

98
#endif // __CHEADER_H__