Home
last modified time | relevance | path

Searched refs:IndexExp (Results 1 – 25 of 247) sorted by relevance

12345678910

/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/mshadow/mshadow/extension/
H A Done_hot.h38 template<typename IndexExp, typename DType>
40 public Exp<OneHotEncodeExp<IndexExp, DType>,
43 const IndexExp &index_;
51 template<typename IndexExp,
53 inline OneHotEncodeExp<IndexExp, default_real_t>
55 TypeCheckPass<ExpInfo<IndexExp>::kDim == 1> in one_hot_encode()
63 template<typename IndexExp, typename DType>
75 expr::Plan<IndexExp, DType> index_;
78 template<typename IndexExp, typename DType>
98 template<typename IndexExp, typename DType>
[all …]
H A Dchoose.h38 template<typename SrcExp, typename IndexExp, typename DType>
40 public Exp<MatChooseRowElementExp<SrcExp, IndexExp, DType>,
45 const IndexExp &index_;
47 MatChooseRowElementExp(const SrcExp &src, const IndexExp &index) in MatChooseRowElementExp()
51 template<typename SrcExp, typename IndexExp,
53 inline MatChooseRowElementExp<SrcExp, IndexExp, DType>
55 const Exp<IndexExp, IDType, e2> &index) { in mat_choose_row_element() argument
64 template<typename SrcExp, typename IndexExp, typename DType>
78 expr::Plan<IndexExp, DType> index_;
81 template<typename SrcExp, typename IndexExp, typename DType>
[all …]
H A Dmask.h42 const IndexExp &index_;
46 MaskExp(const IndexExp &index, const SrcExp &src) in MaskExp()
52 template<typename IndexExp,
56 inline MaskExp<IndexExp, SrcExp, DType>
57 mask(const Exp<IndexExp, DType, e1> &index, in mask() argument
68 struct Plan<MaskExp<IndexExp, SrcExp, DType>, DType> {
79 expr::Plan<IndexExp, DType> index_;
84 inline Plan<MaskExp<IndexExp, SrcExp, DType>, DType>
85 MakePlan(const MaskExp<IndexExp, SrcExp, DType> &exp) {
92 Check(const MaskExp<IndexExp, SrcExp, DType> &t) {
[all …]
H A Dtake.h42 const IndexExp &index_;
46 TakeExp(const IndexExp &index, const SrcExp &src) in TakeExp()
52 template<typename IndexExp,
56 inline TakeExp<IndexExp, SrcExp, DType>
57 take(const Exp<IndexExp, DType, e1> &index, in take() argument
68 struct Plan<TakeExp<IndexExp, SrcExp, DType>, DType> {
82 expr::Plan<IndexExp, DType> index_;
87 inline Plan<TakeExp<IndexExp, SrcExp, DType>, DType>
88 MakePlan(const TakeExp<IndexExp, SrcExp, DType> &exp) {
95 Check(const TakeExp<IndexExp, SrcExp, DType> &t) {
[all …]
H A Dtake_grad.h39 template<typename IndexExp, typename SrcExp, typename DType>
43 const IndexExp &index_;
54 template<typename IndexExp,
58 inline TakeGradExp<IndexExp, SrcExp, DType>
59 take_grad(const Exp<IndexExp, DType, e1> &index, in take_grad() argument
62 return TakeGradExp<IndexExp, SrcExp, DType>(index.self(), in take_grad()
72 struct Plan<TakeGradExp<IndexExp, SrcExp, DType>, DType> {
93 expr::Plan<IndexExp, DType> index_;
100 inline Plan<TakeGradExp<IndexExp, SrcExp, DType>, DType>
108 Check(const TakeGradExp<IndexExp, SrcExp, DType> &t) {
[all …]
H A Dfill.h42 public Exp<MatFillRowElementExp<SrcExp, ValExp, IndexExp, DType>,
48 const IndexExp &index_;
54 template<typename SrcExp, typename ValExp, typename IndexExp,
56 inline MatFillRowElementExp<SrcExp, ValExp, IndexExp, SDType>
59 const Exp<IndexExp, IDType, e3> &index) { in mat_fill_row_element() argument
62 return MatFillRowElementExp<SrcExp, ValExp, IndexExp, SDType>(src.self(), in mat_fill_row_element()
89 expr::Plan<IndexExp, DType> index_;
93 inline Plan<MatFillRowElementExp<SrcExp, ValExp, IndexExp, DType>, DType>
101 Check(const MatFillRowElementExp<SrcExp, ValExp, IndexExp, DType> &t) {
106 Shape<1> shape_index = ShapeCheck<1, IndexExp>::Check(t.index_);
[all …]
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/3rdparty/mshadow/mshadow/extension/
H A Done_hot.h38 template<typename IndexExp, typename DType>
40 public Exp<OneHotEncodeExp<IndexExp, DType>,
43 const IndexExp &index_;
51 template<typename IndexExp,
53 inline OneHotEncodeExp<IndexExp, default_real_t>
55 TypeCheckPass<ExpInfo<IndexExp>::kDim == 1> in one_hot_encode()
63 template<typename IndexExp, typename DType>
75 expr::Plan<IndexExp, DType> index_;
78 template<typename IndexExp, typename DType>
98 template<typename IndexExp, typename DType>
[all …]
H A Dchoose.h38 template<typename SrcExp, typename IndexExp, typename DType>
40 public Exp<MatChooseRowElementExp<SrcExp, IndexExp, DType>,
45 const IndexExp &index_;
47 MatChooseRowElementExp(const SrcExp &src, const IndexExp &index) in MatChooseRowElementExp()
51 template<typename SrcExp, typename IndexExp,
53 inline MatChooseRowElementExp<SrcExp, IndexExp, DType>
55 const Exp<IndexExp, IDType, e2> &index) { in mat_choose_row_element() argument
64 template<typename SrcExp, typename IndexExp, typename DType>
78 expr::Plan<IndexExp, DType> index_;
81 template<typename SrcExp, typename IndexExp, typename DType>
[all …]
H A Dmask.h42 const IndexExp &index_;
46 MaskExp(const IndexExp &index, const SrcExp &src) in MaskExp()
52 template<typename IndexExp,
56 inline MaskExp<IndexExp, SrcExp, DType>
57 mask(const Exp<IndexExp, DType, e1> &index, in mask() argument
68 struct Plan<MaskExp<IndexExp, SrcExp, DType>, DType> {
79 expr::Plan<IndexExp, DType> index_;
84 inline Plan<MaskExp<IndexExp, SrcExp, DType>, DType>
85 MakePlan(const MaskExp<IndexExp, SrcExp, DType> &exp) {
92 Check(const MaskExp<IndexExp, SrcExp, DType> &t) {
[all …]
H A Dtake.h42 const IndexExp &index_;
46 TakeExp(const IndexExp &index, const SrcExp &src) in TakeExp()
52 template<typename IndexExp,
56 inline TakeExp<IndexExp, SrcExp, DType>
57 take(const Exp<IndexExp, DType, e1> &index, in take() argument
68 struct Plan<TakeExp<IndexExp, SrcExp, DType>, DType> {
82 expr::Plan<IndexExp, DType> index_;
87 inline Plan<TakeExp<IndexExp, SrcExp, DType>, DType>
88 MakePlan(const TakeExp<IndexExp, SrcExp, DType> &exp) {
95 Check(const TakeExp<IndexExp, SrcExp, DType> &t) {
[all …]
H A Dtake_grad.h39 template<typename IndexExp, typename SrcExp, typename DType>
43 const IndexExp &index_;
54 template<typename IndexExp,
58 inline TakeGradExp<IndexExp, SrcExp, DType>
59 take_grad(const Exp<IndexExp, DType, e1> &index, in take_grad() argument
62 return TakeGradExp<IndexExp, SrcExp, DType>(index.self(), in take_grad()
72 struct Plan<TakeGradExp<IndexExp, SrcExp, DType>, DType> {
93 expr::Plan<IndexExp, DType> index_;
100 inline Plan<TakeGradExp<IndexExp, SrcExp, DType>, DType>
108 Check(const TakeGradExp<IndexExp, SrcExp, DType> &t) {
[all …]
H A Dfill.h42 public Exp<MatFillRowElementExp<SrcExp, ValExp, IndexExp, DType>,
48 const IndexExp &index_;
54 template<typename SrcExp, typename ValExp, typename IndexExp,
56 inline MatFillRowElementExp<SrcExp, ValExp, IndexExp, SDType>
59 const Exp<IndexExp, IDType, e3> &index) { in mat_fill_row_element() argument
62 return MatFillRowElementExp<SrcExp, ValExp, IndexExp, SDType>(src.self(), in mat_fill_row_element()
89 expr::Plan<IndexExp, DType> index_;
93 inline Plan<MatFillRowElementExp<SrcExp, ValExp, IndexExp, DType>, DType>
101 Check(const MatFillRowElementExp<SrcExp, ValExp, IndexExp, DType> &t) {
106 Shape<1> shape_index = ShapeCheck<1, IndexExp>::Check(t.index_);
[all …]
/dports/math/cocoalib/CoCoALib-0.99712/src/AlgebraicCore/
H A DPPMonoidSparse.C61 struct IndexExp struct
64 IndexExp(long IndetIndex, long exp): myIndetIndex(IndetIndex), myExp(exp) {} in IndexExp() function
71 std::ostream& operator<<(std::ostream& out, const IndexExp& ie) argument
99 typedef std::list<IndexExp> value_t; // ***ACTUAL REPRESENTATION TYPE***
227 tmp->push_back(IndexExp(i, expv[i])); in myNew()
240 tmp->push_back(IndexExp(k, 1)); in myNewIndet()
321 import(rawpp).insert(it, IndexExp(indet, exp)); in myMulIndetPower()
344 ans->push_back(IndexExp(it1->myIndetIndex, it1->myExp - it2->myExp)); in myDiv()
373 ans->push_back(IndexExp(it1->myIndetIndex, it1->myExp - it2->myExp)); in myColon()
448 ans->push_back(IndexExp(it->myIndetIndex, 1)); in myRadical()
[all …]
/dports/math/giacxcas/CoCoALib-0.99700/src/AlgebraicCore/
H A DPPMonoidSparse.C61 struct IndexExp struct
64 IndexExp(long IndetIndex, long exp): myIndetIndex(IndetIndex), myExp(exp) {} in IndexExp() argument
71 std::ostream& operator<<(std::ostream& out, const IndexExp& ie) argument
99 typedef std::list<IndexExp> value_t; // ***ACTUAL REPRESENTATION TYPE***
227 tmp->push_back(IndexExp(i, expv[i])); in myNew()
240 tmp->push_back(IndexExp(k, 1)); in myNewIndet()
321 import(rawpp).insert(it, IndexExp(indet, exp)); in myMulIndetPower()
344 ans->push_back(IndexExp(it1->myIndetIndex, it1->myExp - it2->myExp)); in myDiv()
373 ans->push_back(IndexExp(it1->myIndetIndex, it1->myExp - it2->myExp)); in myColon()
448 ans->push_back(IndexExp(it->myIndetIndex, 1)); in myRadical()
[all …]
/dports/lang/gcc9/gcc-9.4.0/gcc/d/dmd/
H A Ddinterpret.c368 void visit(IndexExp *e) in onExpression()
2005 IndexExp *ei = new IndexExp(e->loc, aggregate, ofs); in visit()
2902 IndexExp *ei = new IndexExp(e->loc, ae, new IntegerExp(Loc(), 0, Type::tsize_t)); in visit()
3248 IndexExp *ie = (IndexExp *)e1;
3277 IndexExp *xe = (IndexExp *)e1;
3398 IndexExp *ie = (IndexExp *)e1;
3692 IndexExp *ie = (IndexExp *)e1; in assignToLvalue()
5129 void visit(IndexExp *e) in visit()
5692 IndexExp *ei = new IndexExp(e->loc, se->e1, se->lwr); in visit()
5710 IndexExp *ie = (IndexExp *)e1; in visit()
[all …]
H A Dctfeexpr.c379 new(&ue) IndexExp(e->loc, ((IndexExp *)e)->e1, ((IndexExp *)e)->e2); in copyLiteral()
452 IndexExp *ie = (IndexExp *)lit; in paintTypeOntoLiteralCopy()
453 new(&ue) IndexExp(lit->loc, ie->e1, ie->e2); in paintTypeOntoLiteralCopy()
729 IndexExp *ie = (IndexExp *)e; in getAggregateFromPointer()
922 Expression *ie = new IndexExp(loc, agg1, ofs); in pointerArithmetic()
1952 Expression *eagg = ((IndexExp *)newval)->e1; in isCtfeReferenceValid()
/dports/devel/avr-gcc/gcc-10.2.0/gcc/d/dmd/
H A Ddinterpret.c368 void visit(IndexExp *e) in onExpression()
2012 IndexExp *ei = new IndexExp(e->loc, aggregate, ofs); in visit()
2909 IndexExp *ei = new IndexExp(e->loc, ae, new IntegerExp(Loc(), 0, Type::tsize_t)); in visit()
3255 IndexExp *ie = (IndexExp *)e1;
3284 IndexExp *xe = (IndexExp *)e1;
3405 IndexExp *ie = (IndexExp *)e1;
3699 IndexExp *ie = (IndexExp *)e1; in assignToLvalue()
5140 void visit(IndexExp *e) in visit()
5703 IndexExp *ei = new IndexExp(e->loc, se->e1, se->lwr); in visit()
5721 IndexExp *ie = (IndexExp *)e1; in visit()
[all …]
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/d/dmd/
H A Ddinterpret.c366 void visit(IndexExp *e) in onExpression()
2010 IndexExp *ei = new IndexExp(e->loc, aggregate, ofs); in visit()
2907 IndexExp *ei = new IndexExp(e->loc, ae, new IntegerExp(Loc(), 0, Type::tsize_t)); in visit()
3253 IndexExp *ie = (IndexExp *)e1;
3282 IndexExp *xe = (IndexExp *)e1;
3403 IndexExp *ie = (IndexExp *)e1;
3697 IndexExp *ie = (IndexExp *)e1; in assignToLvalue()
5089 void visit(IndexExp *e) in visit()
5652 IndexExp *ei = new IndexExp(e->loc, se->e1, se->lwr); in visit()
5670 IndexExp *ie = (IndexExp *)e1; in visit()
[all …]
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/d/dmd/
H A Ddinterpret.c366 void visit(IndexExp *e) in onExpression()
2010 IndexExp *ei = new IndexExp(e->loc, aggregate, ofs); in visit()
2907 IndexExp *ei = new IndexExp(e->loc, ae, new IntegerExp(Loc(), 0, Type::tsize_t)); in visit()
3253 IndexExp *ie = (IndexExp *)e1;
3282 IndexExp *xe = (IndexExp *)e1;
3403 IndexExp *ie = (IndexExp *)e1;
3697 IndexExp *ie = (IndexExp *)e1; in assignToLvalue()
5089 void visit(IndexExp *e) in visit()
5652 IndexExp *ei = new IndexExp(e->loc, se->e1, se->lwr); in visit()
5670 IndexExp *ie = (IndexExp *)e1; in visit()
[all …]
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/d/dmd/
H A Ddinterpret.c368 void visit(IndexExp *e) in onExpression()
2005 IndexExp *ei = new IndexExp(e->loc, aggregate, ofs); in visit()
2902 IndexExp *ei = new IndexExp(e->loc, ae, new IntegerExp(Loc(), 0, Type::tsize_t)); in visit()
3248 IndexExp *ie = (IndexExp *)e1;
3277 IndexExp *xe = (IndexExp *)e1;
3398 IndexExp *ie = (IndexExp *)e1;
3692 IndexExp *ie = (IndexExp *)e1; in assignToLvalue()
5129 void visit(IndexExp *e) in visit()
5692 IndexExp *ei = new IndexExp(e->loc, se->e1, se->lwr); in visit()
5710 IndexExp *ie = (IndexExp *)e1; in visit()
[all …]
/dports/lang/gcc10/gcc-10.3.0/gcc/d/dmd/
H A Ddinterpret.c368 void visit(IndexExp *e) in onExpression()
2003 IndexExp *ei = new IndexExp(e->loc, aggregate, ofs); in visit()
2900 IndexExp *ei = new IndexExp(e->loc, ae, new IntegerExp(Loc(), 0, Type::tsize_t)); in visit()
3246 IndexExp *ie = (IndexExp *)e1;
3275 IndexExp *xe = (IndexExp *)e1;
3396 IndexExp *ie = (IndexExp *)e1;
3690 IndexExp *ie = (IndexExp *)e1; in assignToLvalue()
5131 void visit(IndexExp *e) in visit()
5694 IndexExp *ei = new IndexExp(e->loc, se->e1, se->lwr); in visit()
5712 IndexExp *ie = (IndexExp *)e1; in visit()
[all …]
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/d/dmd/
H A Ddinterpret.c368 void visit(IndexExp *e) in onExpression()
2005 IndexExp *ei = new IndexExp(e->loc, aggregate, ofs); in visit()
2902 IndexExp *ei = new IndexExp(e->loc, ae, new IntegerExp(Loc(), 0, Type::tsize_t)); in visit()
3248 IndexExp *ie = (IndexExp *)e1;
3277 IndexExp *xe = (IndexExp *)e1;
3398 IndexExp *ie = (IndexExp *)e1;
3692 IndexExp *ie = (IndexExp *)e1; in assignToLvalue()
5129 void visit(IndexExp *e) in visit()
5692 IndexExp *ei = new IndexExp(e->loc, se->e1, se->lwr); in visit()
5710 IndexExp *ie = (IndexExp *)e1; in visit()
[all …]
/dports/lang/gcc11/gcc-11.2.0/gcc/d/dmd/
H A Ddinterpret.c366 void visit(IndexExp *e) in onExpression()
2010 IndexExp *ei = new IndexExp(e->loc, aggregate, ofs); in visit()
2907 IndexExp *ei = new IndexExp(e->loc, ae, new IntegerExp(Loc(), 0, Type::tsize_t)); in visit()
3253 IndexExp *ie = (IndexExp *)e1;
3282 IndexExp *xe = (IndexExp *)e1;
3403 IndexExp *ie = (IndexExp *)e1;
3697 IndexExp *ie = (IndexExp *)e1; in assignToLvalue()
5089 void visit(IndexExp *e) in visit()
5652 IndexExp *ei = new IndexExp(e->loc, se->e1, se->lwr); in visit()
5670 IndexExp *ie = (IndexExp *)e1; in visit()
[all …]
/dports/lang/gcc10-devel/gcc-10-20211008/gcc/d/dmd/
H A Ddinterpret.c368 void visit(IndexExp *e) in onExpression()
2012 IndexExp *ei = new IndexExp(e->loc, aggregate, ofs); in visit()
2909 IndexExp *ei = new IndexExp(e->loc, ae, new IntegerExp(Loc(), 0, Type::tsize_t)); in visit()
3255 IndexExp *ie = (IndexExp *)e1;
3284 IndexExp *xe = (IndexExp *)e1;
3405 IndexExp *ie = (IndexExp *)e1;
3699 IndexExp *ie = (IndexExp *)e1; in assignToLvalue()
5140 void visit(IndexExp *e) in visit()
5703 IndexExp *ei = new IndexExp(e->loc, se->e1, se->lwr); in visit()
5721 IndexExp *ie = (IndexExp *)e1; in visit()
[all …]
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/d/dmd/
H A Ddinterpret.d3362 IndexExp ie = cast(IndexExp)e1;
3367 ie = cast(IndexExp)ie.e1;
3388 IndexExp xe = cast(IndexExp)e1;
3390 xe = cast(IndexExp)xe.e1;
3451 aae.type = (cast(IndexExp)e1).e1.type;
3459 e1 = (cast(IndexExp)e1).e1;
3511 IndexExp ie = cast(IndexExp)e1;
5290 override void visit(IndexExp e) in visit()
5386 emplaceExp!(IndexExp)(pue, e.loc, agg, e2); in visit()
5901 IndexExp ie = cast(IndexExp)e1; in visit()
[all …]

12345678910