/dports/graphics/py-pointpats/pointpats-2.2.0/pointpats/tests/ |
H A D | test_ripley.py | 29 ashape = alpha_shape_auto(points) variable 30 pygeos_ashape = pygeos.from_shapely(ashape) 53 area_pgon = geometry.area(ashape) 54 assert area_pgon == ashape.area 56 point_in = list(ashape.centroid.coords)[0] 60 assert geometry.contains(ashape, *point_in) 65 assert not (geometry.contains(ashape, *point_out)) 110 assert tmp_ashape.equals(ashape) 113 assert tmp_ashape.equals(ashape) 115 tmp_ashape = ripley._prepare_hull(points, ashape) [all …]
|
/dports/graphics/mahotas/mahotas-1.4.11/mahotas/ |
H A D | _filters.cpp | 50 const npy_intp* const ashape = PyArray_DIMS(array); in init_filter_offsets() local 58 offsets_size *= (ashape[ii] < fshape[ii] ? ashape[ii] : fshape[ii]); in init_filter_offsets() 102 cc = fix_offset(mode, cc, ashape[ii]); in init_filter_offsets() 139 position[ii] += ashape[ii] - fshape[ii] + 1; in init_filter_offsets() 145 if (position[ii] < ashape[ii]) { in init_filter_offsets() 158 const npy_intp filter_size, const npy_intp *ashape, in init_filter_iterator() argument 168 const npy_intp step = ashape[ii + 1] < fshape[ii + 1] ? ashape[ii + 1] : fshape[ii + 1]; in init_filter_iterator() 173 const npy_intp step = ashape[ii] < fshape[ii] ? ashape[ii] : fshape[ii]; in init_filter_iterator() 179 maxbound[ii] = ashape[ii] - fshape[ii] + orgn; in init_filter_iterator()
|
/dports/graphics/p5-Graph-Easy/Graph-Easy-0.76/lib/Graph/Easy/ |
H A D | As_ascii.pm | 230 my $ashape; $ashape = $self->_arrow_shape() if $as ne 'none'; 287 my $ashape = $self->_arrow_shape(); 288 substr($line,0,1) = $self->_arrow($as,ARROW_UP, $ashape) 327 my $ashape = $self->_arrow_shape(); 328 substr($line,0,1) = $self->_arrow($as,ARROW_UP, $ashape) 345 my $ashape; $ashape = $self->_arrow_style() if $as ne 'none'; 436 my $ashape; 439 $ashape = $self->_arrow_shape(); 440 substr($line,0,1) = $self->_arrow($as, ARROW_UP, $ashape) 529 my $ashape; $ashape = $self->_arrow_shape() if $as ne 'none'; [all …]
|
/dports/misc/py-gluoncv/gluon-cv-0.9.0/gluoncv/data/transforms/presets/ |
H A D | rcnn.py | 148 pos_ratio=0.5, flip_p=0.5, ashape=128, multi_stage=False, **kwargs): argument 178 anchor = ag(mx.nd.zeros((1, 3, ashape, ashape))).reshape((1, 1, ashape, ashape, -1)) 179 ashape = max(ashape // 2, 16) 183 mx.nd.zeros((1, 3, ashape, ashape))).reshape((1, 1, ashape, ashape, -1)) 351 pos_ratio=0.5, ashape=128, multi_stage=False, **kwargs): argument 378 anchor = ag(mx.nd.zeros((1, 3, ashape, ashape))).reshape((1, 1, ashape, ashape, -1)) 379 ashape = max(ashape // 2, 16) 383 mx.nd.zeros((1, 3, ashape, ashape))).reshape((1, 1, ashape, ashape, -1))
|
/dports/graphics/art/ART-1.9.3/rtgui/ |
H A D | labcurve.cc | 60 ashape = static_cast<DiagonalCurveEditor*>(curveEditorG->addCurve(CT_Diagonal, "a*")); in LabCurve() 61 ashape->setEditID(EUID_Lab_aCurve, BT_SINGLEPLANE_FLOAT); in LabCurve() 63 ashape->setRangeLabels( in LabCurve() 71 ashape->setBottomBarBgGradient(milestones); in LabCurve() 72 ashape->setLeftBarBgGradient(milestones); in LabCurve() 109 ashape->setCurve(pp->labCurve.acurve); in read() 122 ashape->openIfNonlinear(); in autoOpenCurve() 134 ashape->setEditProvider(provider); in setEditProvider() 146 pp->labCurve.acurve = ashape->getCurve (); in write() 168 if (ce == ashape) { in curveChanged()
|
/dports/graphics/dataplot/dataplot-2c1b27601a3b7523449de612613eadeead9a8f70/lib/frmenus/prob/ |
H A D | mleb10.men | 52 delete ashape ascale 54 read dpst1f.dat ashape ascale 58 let amed = median ashape 59 let amean = mean ashape 60 let asd = sd ashape 63 histogram ashape 79 let sha95low = xq quantile ashape 81 let sha95upp = xq quantile ashape
|
H A D | mlelex.men | 52 delete ashape ascale 54 read dpst1f.dat ashape ascale 58 let amed = median ashape 59 let amean = mean ashape 60 let asd = sd ashape 63 histogram ashape 79 let sha95low = xq quantile ashape 81 let sha95upp = xq quantile ashape
|
H A D | mlepow.men | 57 delete aloc ascale ashape 59 read dpst1f.dat aloc ascale ashape 77 let amed = median ashape 78 let amean = mean ashape 79 let asd = sd ashape 82 histogram ashape 95 let sh95low = xq quantile ashape 97 let sh95upp = xq quantile ashape
|
H A D | mletri.men | 51 delete aloc ascale ashape 53 read dpst1f.dat aloc ascale ashape 71 let amed = median ashape 72 let amean = mean ashape 73 let asd = sd ashape 76 histogram ashape 93 let sh95low = xq quantile ashape 95 let sh95upp = xq quantile ashape
|
H A D | topmle.men | 57 delete aloc ascale ashape 59 read dpst1f.dat aloc ascale ashape 77 let amed = median ashape 78 let amean = mean ashape 79 let asd = sd ashape 82 histogram ashape 95 let sh95low = xq quantile ashape 97 let sh95upp = xq quantile ashape
|
H A D | mlegl5.men | 52 delete ashape ascale 54 read dpst1f.dat aloc ascale ashape 58 let amed = median ashape 59 let amean = mean ashape 60 let asd = sd ashape 63 histogram ashape 86 let sha95low = xq quantile ashape 88 let sha95upp = xq quantile ashape
|
H A D | ademle.men | 60 read dpst1f.dat ashape aloc ascale 64 let amed = median ashape 65 let amean = mean ashape 66 let asd = sd ashape 69 histogram ashape 92 let sha95low = xq quantile ashape 94 let sha95upp = xq quantile ashape
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/contrib/ |
H A D | multibox_detection-inl.h | 88 mxnet::TShape ashape = in_data[mboxdet_enum::kAnchor].shape_; in Forward() local 97 .get_with_shape<xpu, 2, DType>(Shape2(ashape[1], 4), s); in Forward() 155 mxnet::TShape ashape = in_shape->at(mboxdet_enum::kAnchor); in InferShape() local 158 CHECK_EQ(ashape.ndim(), 3U) << "Provided: " << ashape; in InferShape() 159 CHECK_EQ(cshape[2], ashape[1]) << "Number of anchors mismatch"; in InferShape() 161 CHECK_GT(ashape[1], 0U) << "Number of anchors must > 0"; in InferShape() 162 CHECK_EQ(ashape[2], 4U); in InferShape() 165 oshape[1] = ashape[1]; in InferShape()
|
H A D | multibox_target-inl.h | 217 mxnet::TShape ashape = in_shape->at(mboxtarget_enum::kAnchor); in InferShape() local 218 CHECK_EQ(ashape.ndim(), 3) << "Anchor should be batch shared N*4 tensor"; in InferShape() 219 CHECK_EQ(ashape[0], 1) << "Anchors are shared across batches, first dimension should be 1"; in InferShape() 220 CHECK_GT(ashape[1], 0) << "Number boxes should be greater than 0"; in InferShape() 221 CHECK_EQ(ashape[2], 4) << "Box dimension should be 4: [xmin, ymin, xmax, ymax]"; in InferShape() 228 CHECK_EQ(pshape[2], ashape[1]) << "Number of anchors mismatch"; in InferShape() 229 mxnet::TShape loc_shape = Shape2(lshape[0], ashape.Size()); // batch - (num_box * 4) in InferShape() 231 mxnet::TShape label_shape = Shape2(lshape[0], ashape[1]); // batch - num_box in InferShape()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/operator/contrib/ |
H A D | multibox_detection-inl.h | 88 mxnet::TShape ashape = in_data[mboxdet_enum::kAnchor].shape_; in Forward() local 97 .get_with_shape<xpu, 2, DType>(Shape2(ashape[1], 4), s); in Forward() 155 mxnet::TShape ashape = in_shape->at(mboxdet_enum::kAnchor); in InferShape() local 158 CHECK_EQ(ashape.ndim(), 3U) << "Provided: " << ashape; in InferShape() 159 CHECK_EQ(cshape[2], ashape[1]) << "Number of anchors mismatch"; in InferShape() 161 CHECK_GT(ashape[1], 0U) << "Number of anchors must > 0"; in InferShape() 162 CHECK_EQ(ashape[2], 4U); in InferShape() 165 oshape[1] = ashape[1]; in InferShape()
|
/dports/cad/opencascade/opencascade-7.6.0/src/BRepTools/ |
H A D | BRepTools_ReShape.cxx | 153 void BRepTools_ReShape::replace (const TopoDS_Shape& ashape, in replace() argument 157 TopoDS_Shape shape = ashape; in replace() 199 TopoDS_Shape shape = ashape; in IsRecorded() 214 TopoDS_Shape BRepTools_ReShape::Value (const TopoDS_Shape& ashape) const in Value() 217 if (ashape.IsNull()) return res; in Value() 218 TopoDS_Shape shape = ashape; in Value() 246 if(fromMap) res.Location(ashape.Location()*res.Location(), Standard_False); in Value() 247 else res.Location(ashape.Location(), Standard_False); in Value() 259 Standard_Integer BRepTools_ReShape::Status(const TopoDS_Shape& ashape, in Status() argument 264 if (ashape.IsNull()) { newsh.Nullify(); return res; } in Status() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/DrawDim/ |
H A D | DrawDim.cxx | 62 void DrawDim::DrawShapeName (const TopoDS_Shape& ashape, in DrawShapeName() argument 67 switch (ashape.ShapeType()) { in DrawShapeName() 71 Handle(Geom_Curve) curve = BRep_Tool::Curve(TopoDS::Edge(ashape),f,l); in DrawShapeName() 85 position = BRep_Tool::Pnt(TopoDS::Vertex(ashape)); in DrawShapeName() 179 gp_Pnt DrawDim::Nearest(const TopoDS_Shape& ashape, const gp_Pnt& apoint) in Nearest() argument 185 TopExp_Explorer explo(ashape,TopAbs_VERTEX); in Nearest()
|
/dports/science/PETSc/petsc-3.14.1/src/mat/tests/ |
H A D | ex16f90.F90 | 18 integer :: ashape(2) 60 ashape = shape(array) 61 …write(string, '("[", i0, "]", " shape (", i0, ",", i0, ")", a1)') rank, ashape(1), ashape(2), new_…
|
/dports/devel/py-pythran/pythran-0.11.0/pythran/pythonic/numpy/ |
H A D | indices.hpp | 32 auto ashape = sutils::array(shape); in indices() local 35 lens[n] = lens[n - 1] / ashape[n]; in indices() 39 *(iters[n]++) = (i / mult) % ashape[n]; in indices() 40 mult *= ashape[n]; in indices()
|
/dports/misc/tvm/incubator-tvm-0.6.1/nnvm/src/top/vision/ssd/ |
H A D | mutibox_op.cc | 111 TShape ashape = in_attrs->at(2); in MultiBoxTransformLocShape() local 114 CHECK_EQ(ashape.ndim(), 3U) << "Anchor should be 3-D."; in MultiBoxTransformLocShape() 115 CHECK_EQ(cshape[2], ashape[1]) << "Number of anchors mismatch."; in MultiBoxTransformLocShape() 117 CHECK_GT(ashape[1], 0U) << "Number of anchors must > 0."; in MultiBoxTransformLocShape() 118 CHECK_EQ(ashape[2], 4U); in MultiBoxTransformLocShape() 121 oshape0[1] = ashape[1]; in MultiBoxTransformLocShape()
|
/dports/misc/py-tvm/incubator-tvm-0.6.1/nnvm/src/top/vision/ssd/ |
H A D | mutibox_op.cc | 111 TShape ashape = in_attrs->at(2); in MultiBoxTransformLocShape() local 114 CHECK_EQ(ashape.ndim(), 3U) << "Anchor should be 3-D."; in MultiBoxTransformLocShape() 115 CHECK_EQ(cshape[2], ashape[1]) << "Number of anchors mismatch."; in MultiBoxTransformLocShape() 117 CHECK_GT(ashape[1], 0U) << "Number of anchors must > 0."; in MultiBoxTransformLocShape() 118 CHECK_EQ(ashape[2], 4U); in MultiBoxTransformLocShape() 121 oshape0[1] = ashape[1]; in MultiBoxTransformLocShape()
|
/dports/math/sisl/SISL-SISL-4.6.0-44-g9114631/src/ |
H A D | s1617.c | 57 double *ashape, int *jstat) in s1617() argument 60 estart, etang, estop, ashape, jstat) in s1617() 70 double *ashape; 209 *ashape = tshape;
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/tests/python/contrib/ |
H A D | test_cblas.py | 30 ashape = (l, n) if transa else (n, l) 32 A = te.placeholder(ashape, name="A", dtype=dtype) 54 a = tvm.nd.array(np.random.uniform(size=ashape).astype(A.dtype), ctx) 100 ashape = (l, n) if transa else (n, l) 102 A = te.placeholder(ashape, name="A", dtype=data_dtype) 124 a = tvm.nd.array(np.random.randint(low=0, high=50, size=ashape).astype(A.dtype), ctx) 152 ashape = (batch, l, n) if transa else (batch, n, l) 154 A = te.placeholder(ashape, name="A", dtype=dtype) 176 a = tvm.nd.array(np.random.uniform(size=ashape).astype(A.dtype), ctx)
|
/dports/misc/tvm/incubator-tvm-0.6.1/tests/python/contrib/ |
H A D | test_cblas.py | 24 ashape = (l, n) if transa else (n, l) 26 A = tvm.placeholder(ashape, name='A', dtype=dtype) 48 a = tvm.nd.array(np.random.uniform(size=ashape).astype(A.dtype), ctx) 68 ashape = (batch, l, n) if transa else (batch, n, l) 70 A = tvm.placeholder(ashape, name='A', dtype=dtype) 92 a = tvm.nd.array(np.random.uniform(size=ashape).astype(A.dtype), ctx)
|
/dports/misc/py-tvm/incubator-tvm-0.6.1/tests/python/contrib/ |
H A D | test_cblas.py | 24 ashape = (l, n) if transa else (n, l) 26 A = tvm.placeholder(ashape, name='A', dtype=dtype) 48 a = tvm.nd.array(np.random.uniform(size=ashape).astype(A.dtype), ctx) 68 ashape = (batch, l, n) if transa else (batch, n, l) 70 A = tvm.placeholder(ashape, name='A', dtype=dtype) 92 a = tvm.nd.array(np.random.uniform(size=ashape).astype(A.dtype), ctx)
|