Home
last modified time | relevance | path

Searched refs:lshape (Results 1 – 25 of 193) sorted by relevance

12345678

/dports/misc/tvm/incubator-tvm-0.6.1/nnvm/src/top/tensor/
H A Dmatrix_op.cc46 TShape lshape = (*in_attrs)[0]; in DotShape() local
49 if (lshape.ndim() == 1) lshape = TShape{1, lshape[0]}; in DotShape()
52 if (param.transpose_a) std::reverse(lshape.begin(), lshape.end()); in DotShape()
55 CHECK_EQ(lshape[lshape.ndim() - 1], rshape[0]) in DotShape()
56 << "dot shape inconsistent: " << lshape << " X " << rshape; in DotShape()
58 TShape oshape(lshape.ndim() + rshape.ndim() - 2); in DotShape()
59 for (uint32_t i = 0; i < lshape.ndim() - 1; i++) oshape[i] = lshape[i]; in DotShape()
60 for (uint32_t i = 1; i < rshape.ndim(); i++) oshape[i + lshape.ndim() - 2] = rshape[i]; in DotShape()
/dports/misc/py-tvm/incubator-tvm-0.6.1/nnvm/src/top/tensor/
H A Dmatrix_op.cc46 TShape lshape = (*in_attrs)[0]; in DotShape() local
49 if (lshape.ndim() == 1) lshape = TShape{1, lshape[0]}; in DotShape()
52 if (param.transpose_a) std::reverse(lshape.begin(), lshape.end()); in DotShape()
55 CHECK_EQ(lshape[lshape.ndim() - 1], rshape[0]) in DotShape()
56 << "dot shape inconsistent: " << lshape << " X " << rshape; in DotShape()
58 TShape oshape(lshape.ndim() + rshape.ndim() - 2); in DotShape()
59 for (uint32_t i = 0; i < lshape.ndim() - 1; i++) oshape[i] = lshape[i]; in DotShape()
60 for (uint32_t i = 1; i < rshape.ndim(); i++) oshape[i + lshape.ndim() - 2] = rshape[i]; in DotShape()
/dports/lang/pcc/pcc-1.1.0/arch/powerpc/
H A Dorder.c173 if (q->lshape == SBREG) { in nspecial()
181 } else if (q->lshape == SAREG) { in nspecial()
196 if (q->lshape == SBREG && q->rshape == SAREG) { in nspecial()
203 } else if (q->lshape == SAREG && q->rshape == SBREG) { in nspecial()
250 if (q->lshape == SBREG) { in nspecial()
258 } else if (q->lshape == SAREG) { in nspecial()
276 if (q->lshape == SBREG && in nspecial()
285 } else if (q->lshape == SAREG && q->ltype & TFLOAT) { in nspecial()
293 } else if (q->lshape == SAREG) { in nspecial()
326 if (q->lshape & SNAME) { in nspecial()
[all …]
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/
H A Dbilinear_sampler-inl.h150 const mxnet::TShape &lshape = (*in_shape)[bs::kGrid]; in InferShape() local
154 if (!shape_is_known(lshape)) return false; in InferShape()
155 CHECK_EQ(lshape.ndim(), 4U) \ in InferShape()
157 CHECK_EQ(dshape[0], lshape[0]); in InferShape()
160 CHECK_GT(lshape[2], 0U) \ in InferShape()
161 << "incorrect grid_shape: " << lshape[2]; in InferShape()
163 CHECK_GT(lshape[3], 0U) \ in InferShape()
164 << "incorrect grid_shape: " << lshape[3]; in InferShape()
168 (*out_shape)[bs::kOut][2] = lshape[2]; in InferShape()
169 (*out_shape)[bs::kOut][3] = lshape[3]; in InferShape()
[all …]
H A Dgrid_generator-inl.h216 const mxnet::TShape &lshape = (*in_shape)[grid::kData]; in InferShape() local
217 if (lshape.ndim() == 0) return false; in InferShape()
221 CHECK_EQ(lshape.ndim(), 2U) \ in InferShape()
224 CHECK_EQ(lshape[1], 6U) << "incorrect data shape[1], should be 6"; in InferShape()
229 out_shape->push_back(Shape4(lshape[0], 2, param_.target_shape[0], param_.target_shape[1])); in InferShape()
234 CHECK_EQ(lshape.ndim(), 4U) \ in InferShape()
237 CHECK_EQ(lshape[1], 2U) << "incorrect data shape[1], should be 2"; in InferShape()
238 out_shape->push_back(lshape); in InferShape()
239 out_shape->push_back(Shape3(2, lshape[2], lshape[3])); in InferShape()
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/operator/
H A Dbilinear_sampler-inl.h150 const mxnet::TShape &lshape = (*in_shape)[bs::kGrid]; in InferShape() local
154 if (!shape_is_known(lshape)) return false; in InferShape()
155 CHECK_EQ(lshape.ndim(), 4U) \ in InferShape()
157 CHECK_EQ(dshape[0], lshape[0]); in InferShape()
160 CHECK_GT(lshape[2], 0U) \ in InferShape()
161 << "incorrect grid_shape: " << lshape[2]; in InferShape()
163 CHECK_GT(lshape[3], 0U) \ in InferShape()
164 << "incorrect grid_shape: " << lshape[3]; in InferShape()
168 (*out_shape)[bs::kOut][2] = lshape[2]; in InferShape()
169 (*out_shape)[bs::kOut][3] = lshape[3]; in InferShape()
[all …]
H A Dgrid_generator-inl.h216 const mxnet::TShape &lshape = (*in_shape)[grid::kData]; in InferShape() local
217 if (lshape.ndim() == 0) return false; in InferShape()
221 CHECK_EQ(lshape.ndim(), 2U) \ in InferShape()
224 CHECK_EQ(lshape[1], 6U) << "incorrect data shape[1], should be 6"; in InferShape()
229 out_shape->push_back(Shape4(lshape[0], 2, param_.target_shape[0], param_.target_shape[1])); in InferShape()
234 CHECK_EQ(lshape.ndim(), 4U) \ in InferShape()
237 CHECK_EQ(lshape[1], 2U) << "incorrect data shape[1], should be 2"; in InferShape()
238 out_shape->push_back(lshape); in InferShape()
239 out_shape->push_back(Shape3(2, lshape[2], lshape[3])); in InferShape()
/dports/graphics/art/ART-1.9.3/rtgui/
H A Dhslequalizer.cc75lshape = static_cast<FlatCurveEditor *>(curveEditorG->addCurve(CT_Flat, M("TP_HSVEQUALIZER_VAL"))); in HSLEqualizer()
76 lshape->setEditID(EUID_HSL_V, BT_SINGLEPLANE_FLOAT); in HSLEqualizer()
77 lshape->setBottomBarBgGradient(bottomMilestones); in HSLEqualizer()
78 lshape->setCurveColorProvider(this, 3); in HSLEqualizer()
114 lshape->setCurve(default_flat_curve_); in read()
118 lshape->setCurve(pp->hsl.lCurve); in read()
130 lshape->setEditProvider(provider); in setEditProvider()
157 lshape->openIfNonlinear(); in autoOpenCurve()
167 pp->hsl.lCurve = lshape->getCurve(); in write()
188 if (ce == lshape) { in curveChanged()
H A Dlabcurve.cc56 lshape = static_cast<DiagonalCurveEditor*>(curveEditorG->addCurve(CT_Diagonal, "L*")); in LabCurve()
57 lshape->setTooltip(M("TP_LABCURVE_CURVEEDITOR_LL_TOOLTIP")); in LabCurve()
58 lshape->setEditID(EUID_Lab_LCurve, BT_SINGLEPLANE_FLOAT); in LabCurve()
108 lshape->setCurve(pp->labCurve.lcurve); in read()
119 bool active = lshape->openIfNonlinear(); in autoOpenCurve()
133 lshape->setEditProvider(provider); in setEditProvider()
145 pp->labCurve.lcurve = lshape->getCurve (); in write()
164 if (ce == lshape) { in curveChanged()
223 lshape->updateBackgroundHistogram(histLCurve); in updateCurveBackgroundHistogram()
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/ndarray/
H A Dndarray_function.h40 inline static mxnet::TShape GetShape(const mxnet::TShape &lshape, const mxnet::TShape &rshape) { in GetShape()
41 CHECK(lshape == rshape) << "operands shape mismatch"; in GetShape()
42 CHECK(!mxnet::op::shape_is_none(lshape)) << "source operand have zero dimension shape"; in GetShape()
43 return lshape; in GetShape()
104 inline static mxnet::TShape GetShape(const mxnet::TShape &lshape, const mxnet::TShape &rshape) { in GetShape()
105 CHECK(lshape.ndim() == 2 && rshape.ndim() == 1) in GetShape()
107 CHECK_EQ(lshape[0], rshape[0]) << "choose_row_element index and matrix shape mismatch"; in GetShape()
113 inline static mxnet::TShape GetShape(const mxnet::TShape &lshape, in GetShape()
116 CHECK(lshape.ndim() == 2 && mshape.ndim() == 1 && rshape.ndim() == 1) in GetShape()
118 CHECK((lshape[0] == mshape[0]) && (mshape[0] == rshape[0])) in GetShape()
[all …]
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/ndarray/
H A Dndarray_function.h40 inline static mxnet::TShape GetShape(const mxnet::TShape &lshape, const mxnet::TShape &rshape) { in GetShape()
41 CHECK(lshape == rshape) << "operands shape mismatch"; in GetShape()
42 CHECK(!mxnet::op::shape_is_none(lshape)) << "source operand have zero dimension shape"; in GetShape()
43 return lshape; in GetShape()
104 inline static mxnet::TShape GetShape(const mxnet::TShape &lshape, const mxnet::TShape &rshape) { in GetShape()
105 CHECK(lshape.ndim() == 2 && rshape.ndim() == 1) in GetShape()
107 CHECK_EQ(lshape[0], rshape[0]) << "choose_row_element index and matrix shape mismatch"; in GetShape()
113 inline static mxnet::TShape GetShape(const mxnet::TShape &lshape, in GetShape()
116 CHECK(lshape.ndim() == 2 && mshape.ndim() == 1 && rshape.ndim() == 1) in GetShape()
118 CHECK((lshape[0] == mshape[0]) && (mshape[0] == rshape[0])) in GetShape()
[all …]
/dports/lang/pcc/pcc-1.1.0/arch/arm/
H A Dorder.c189 if (q->lshape == SBREG && q->rshape == SAREG) { in nspecial()
196 } else if (q->lshape == SAREG && q->rshape == SBREG) { in nspecial()
203 } else if (q->lshape == SAREG && q->rshape == SAREG) { in nspecial()
210 } else if (q->lshape == SBREG && q->rshape == SBREG) { in nspecial()
220 if (q->lshape == SBREG) { in nspecial()
228 } else if (q->lshape == SAREG) { in nspecial()
243 if (q->lshape == SBREG) { in nspecial()
251 } else if (q->lshape == SAREG) { in nspecial()
262 if (q->lshape == SBREG) { in nspecial()
270 } else if (q->lshape == SAREG) { in nspecial()
/dports/lang/pcc/pcc-1.1.0/arch/mips/
H A Dorder.c138 if (q->lshape == SBREG && q->rshape == SCREG) { in nspecial()
145 } else if (q->lshape == SCREG && q->rshape == SBREG) { in nspecial()
152 } else if (q->lshape == SAREG && q->rshape == SCREG) { in nspecial()
164 if (q->lshape == SBREG) { in nspecial()
172 } else if (q->lshape == SAREG) { in nspecial()
184 if (q->lshape == SBREG) { in nspecial()
192 } else if (q->lshape == SAREG) { in nspecial()
/dports/comms/wsjtz/wsjtx/lib/fst4/
H A Dgen_fst4wave.f9013 logical first, lshape local
16 data lshape/.true./
17 save first,twopi,dt,tsym,nsps0,ctab,lshape
26 if(nlen.eq.1 .and. cvalue.eq."1") lshape=.false.
75 if(lshape) then
83 if(lshape) then
/dports/math/libmesh/libmesh-1.6.2/examples/miscellaneous/miscellaneous_ex2/
H A DMakefile.am5 data = miscellaneous_ex2.C lshape.unv lshape_data.unv
17 -rm -f lshape.unv && $(LN_S) -f $(srcdir)/lshape.unv .
21 CLEANFILES += lshape.unv lshape_data.unv out_*.e eqn_sys.dat .linkstamp
/dports/lang/pcc/pcc-1.1.0/arch/i86/
H A Dorder.c217 if (q->lshape == SBREG) { in nspecial()
223 } else if (q->lshape == SAREG) { in nspecial()
229 } else if (q->lshape & SCREG) { in nspecial()
237 if (q->lshape == SBREG) { in nspecial()
243 } else if (q->lshape == SAREG) { in nspecial()
249 } else if (q->lshape & SCREG) { in nspecial()
257 if (q->lshape == SAREG) { in nspecial()
265 if (q->lshape == SBREG) { in nspecial()
270 } else if (q->lshape & SCREG) { in nspecial()
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/tests/python/unittest/
H A Dtest_executor.py24 def check_bind_with_uniform(uf, gf, dim, sf=None, lshape=None, rshape=None): argument
35 lshape = shape if lshape is None else lshape
38 lhs_arr = mx.nd.array(np.random.uniform(-1, 1, lshape))
40 lhs_grad = mx.nd.empty(lshape)
118 lshape=(s[0], s[1]),
126 lshape=(s[0],),
/dports/misc/mxnet/incubator-mxnet-1.9.0/tests/python/unittest/
H A Dtest_executor.py24 def check_bind_with_uniform(uf, gf, dim, sf=None, lshape=None, rshape=None): argument
35 lshape = shape if lshape is None else lshape
38 lhs_arr = mx.nd.array(np.random.uniform(-1, 1, lshape))
40 lhs_grad = mx.nd.empty(lshape)
118 lshape=(s[0], s[1]),
126 lshape=(s[0],),
/dports/lang/pcc/pcc-1.1.0/arch/i386/
H A Dorder.c206 if (q->lshape == SBREG) { in nspecial()
212 } else if (q->lshape == SAREG) { in nspecial()
218 } else if (q->lshape & SCREG) { in nspecial()
226 if (q->lshape == SBREG) { in nspecial()
232 } else if (q->lshape == SAREG) { in nspecial()
238 } else if (q->lshape & SCREG) { in nspecial()
246 if (q->lshape == SBREG) { in nspecial()
251 } else if (q->lshape & SCREG) { in nspecial()
/dports/science/nest/nest-simulator-3.1/testsuite/pytests/test_spatial/
H A Dtest_basics.py87 lshape = [5, 4]
90 positions=nest.spatial.grid(shape=lshape))
112 dx = 1. / lshape[0]
121 dy = 1. / lshape[1]
130 dx = 1. / lshape[0]
135 dy = 1. / lshape[1]
162 lshape = [5, 4]
188 dx = 1. / lshape[0]
198 dy = 1. / lshape[1]
209 dx = 1. / lshape[0]
[all …]
/dports/math/R-cran-VGAM/VGAM/R/
H A Dfamily.survival.R309 bisa <- function(lscale = "loglink", lshape = "loglink", argument
317 lshape <- as.list(substitute(lshape))
318 eshape <- link2list(lshape)
319 lshape <- attr(eshape, "function.name")
354 lshape = .lshape , nameattr
385 }) , list( .lshape = lshape, .lscale = lscale,
393 }, list( .lshape = lshape, .lscale = lscale,
402 }) , list( .lshape = lshape, .lscale = lscale,
420 }, list( .lshape = lshape, .lscale = lscale,
430 }, list( .lshape = lshape, .lscale = lscale,
[all …]
/dports/science/lammps/lammps-stable_29Sep2021/lib/gpu/
H A Dlal_gayberne.cpp116 lshape.alloc(ntypes,*(this->ucl_device),UCL_READ_ONLY); in init()
118 d_view.view(host_lshape,lshape.numel(),*(this->ucl_device)); in init()
119 ucl_copy(lshape,d_view,false); in init()
145 lshape.row_bytes()+shape.row_bytes()+well.row_bytes(); in init()
171 lshape.clear(); in clear()
209 &this->lshape, &this->nbor->dev_nbor, &stride, in loop()
243 &this->lshape, &this->nbor->dev_nbor, in loop()
298 &this->sigma_epsilon, &this->_lj_types, &this->lshape, in loop()
/dports/science/liggghts/LIGGGHTS-PUBLIC-3.8.0-26-g6e873439/lib/gpu/
H A Dlal_gayberne.cpp116 lshape.alloc(ntypes,*(this->ucl_device),UCL_READ_ONLY); in init()
118 d_view.view(host_lshape,lshape.numel(),*(this->ucl_device)); in init()
119 ucl_copy(lshape,d_view,false); in init()
145 lshape.row_bytes()+shape.row_bytes()+well.row_bytes(); in init()
171 lshape.clear(); in clear()
220 &this->lshape, &this->nbor->dev_nbor, &stride, in loop()
254 &this->lshape, &this->nbor->dev_nbor, in loop()
309 &this->sigma_epsilon, &this->_lj_types, &this->lshape, in loop()
/dports/graphics/rawtherapee/rawtherapee-5.8/rtgui/
H A Dlabcurve.cc92 lshape->setTooltip(M("TP_LABCURVE_CURVEEDITOR_LL_TOOLTIP")); in LCurve()
93 lshape->setEditID(EUID_Lab_LCurve, BT_SINGLEPLANE_FLOAT); in LCurve()
189 lshape->setBottomBarBgGradient(milestones); in LCurve()
190 lshape->setLeftBarBgGradient(milestones); in LCurve()
249 lshape->setUnChanged (!pedited->labCurve.lcurve); in read()
283 lshape->setCurve (pp->labCurve.lcurve); in read()
303 bool active = lshape->openIfNonlinear(); in autoOpenCurve()
341 lshape->setEditProvider(provider); in setEditProvider()
368 pp->labCurve.lcurve = lshape->getCurve (); in write()
491 if (ce == lshape) { in curveChanged()
[all …]
/dports/misc/mxnet/incubator-mxnet-1.9.0/plugin/torch/
H A Dtorch_criterion-inl.h192 std::vector<index_t> lshape; in InferShape() local
193 lshape.push_back(dshape[0]); in InferShape()
194 lshape.insert(lshape.end(), param_.label_shape.data(), in InferShape()
196 mxnet::TShape shape(lshape.begin(), lshape.end()); in InferShape()

12345678