CHeader.h 2.8 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.
 */

/*
xuchen committed
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
#include "arithmetic/Mask.h"
32 33 34 35 36 37
#include "arithmetic/MatrixMul.h"
#include "arithmetic/MatrixMul2D.h"
#include "arithmetic/MatrixMul2DMultiTheading.h"
#include "arithmetic/MatrixMul2DParallel.h"
#include "arithmetic/MatrixMulBatched.h"
#include "arithmetic/Multiply.h"
38
#include "arithmetic/MultiplyDim.h"
39
#include "arithmetic/Sub.h"
40
#include "arithmetic/SubDim.h"
41 42 43
#include "arithmetic/Sum.h"
#include "arithmetic/SumDim.h"
#include "arithmetic/XTensorBLAS.h"
44
#include "arithmetic/MulAndShift.h"
45 46

#include "getandset/ConvertDataType.h"
xuchen committed
47
#include "getandset/OnehotAndIndex.h"
48 49 50
#include "getandset/Select.h"
#include "getandset/SetData.h"

51
#include "math/Binary.h"
52
#include "math/Clip.h"
xuchen committed
53
#include "math/Compare.h"
54 55
#include "math/Normalize.h"
#include "math/Power.h"
56 57 58 59 60 61 62 63 64 65
#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"
66 67
#include "movement/Gather.h"
#include "movement/Spread.h"
68

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

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

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

93
#include "utilities/XMatrixSegment.h"
94
#include "utilities/FlushToMem.h"
95

96
#endif // __CHEADER_H__