/dports/games/hyperrogue/hyperrogue-12.0f/ |
H A D | polygons.cpp | 207 bshape(sh, prio); in bshape() 285 bshape(newsh, prio); in zoomShape() 462 bshape(shCross, PPR::WALL); in procedural_shapes() 484 bshape(shStar, PPR::ITEM); in procedural_shapes() 490 bshape(shDaisy, PPR::ITEM); in procedural_shapes() 506 bshape(shDisk, PPR::ITEM); in procedural_shapes() 524 bshape(shDiskT, PPR::ITEM); in procedural_shapes() 528 bshape(shDiskS, PPR::ITEM); in procedural_shapes() 547 bshape(shEgg, PPR::ITEM); in procedural_shapes() 553 bshape(sh, PPR::ITEM); in procedural_shapes() [all …]
|
/dports/math/py-Pyomo/Pyomo-6.1.2/pyomo/contrib/pynumero/sparse/ |
H A D | block_matrix.py | 107 def bshape(self): 475 assert other.bshape[0] == self.bshape[1], "Dimension mismatch" 476 result = BlockMatrix(self.bshape[0], other.bshape[1]) 596 assert other.bshape == self.bshape, \ 661 assert other.bshape == self.bshape, \ 720 result = BlockMatrix(self.bshape[0], self.bshape[1]) 828 result = BlockMatrix(self.bshape[0], self.bshape[1]) 831 assert other.bshape == self.bshape, \ 968 assert other.bshape == self.bshape, \ 992 assert other.bshape == self.bshape, \ [all …]
|
H A D | mpi_block_matrix.py | 120 def bshape(self): 256 m = self.bshape[0] 257 n = self.bshape[1] 383 receive_data = np.empty(num_processors * (self.bshape[0] + self.bshape[1]), 388 m, n = self.bshape 590 flat_size = self.bshape[0] * self.bshape[1] 685 assert other.bshape == self.bshape, \ 686 'dimensions mismatch {} != {}'.format(self.bshape, other.bshape) 718 assert other.bshape == self.bshape, \ 719 'dimensions mismatch {} != {}'.format(self.bshape, other.bshape) [all …]
|
/dports/graphics/art/ART-1.9.3/rtgui/ |
H A D | labcurve.cc | 75 bshape = static_cast<DiagonalCurveEditor*>(curveEditorG->addCurve(CT_Diagonal, "b*")); in LabCurve() 76 bshape->setRangeLabels( in LabCurve() 80 bshape->setEditID(EUID_Lab_bCurve, BT_SINGLEPLANE_FLOAT); in LabCurve() 86 bshape->setBottomBarBgGradient(milestones); in LabCurve() 87 bshape->setLeftBarBgGradient(milestones); in LabCurve() 110 bshape->setCurve(pp->labCurve.bcurve); in read() 126 bshape->openIfNonlinear(); in autoOpenCurve() 135 bshape->setEditProvider(provider); in setEditProvider() 147 pp->labCurve.bcurve = bshape->getCurve (); in write() 172 if (ce == bshape) { in curveChanged()
|
/dports/games/exult/exult-snapshot-v1.7.0.20211128/shapes/shapeinf/ |
H A D | bodyinf.h | 39 int bshape; // Body shape. variable 48 if (bshape != s || bframe != f) { in set() 50 bshape = s; in set() 55 return bshape; in get_body_shape()
|
/dports/astro/pykep/pykep-2.6/src/third_party/cspice/ |
H A D | gfoclt_c.c | 66 ConstSpiceChar * bshape, in gfoclt_c() argument 1676 CHKFSTR ( CHK_STANDARD, "gfoclt_c", bshape ); in gfoclt_c() 1689 (char *) bshape, in gfoclt_c() 1701 (ftnlen ) strlen(bshape), in gfoclt_c()
|
H A D | occult.c | 54 char bframe[32], fframe[32], bshape[500], bmethd[500], fmethd[500], in occult_() local 1333 s_copy(bshape, prshp2, (ftnlen)500, (ftnlen)9); in occult_() 1343 s_copy(bshape, prshp1, (ftnlen)500, (ftnlen)9); in occult_() 1379 1070)) * 9, front, fshape, fframe, back, bshape, in occult_() 1410 } else if (s_cmp(bshape, "ELLIPSOID", (ftnlen)500, (ftnlen)9) == in occult_() 1411 0 || s_cmp(bshape, "DSK", (ftnlen)500, (ftnlen)3) == 0) { in occult_()
|
H A D | gfocce_c.c | 69 ConstSpiceChar * bshape, in gfocce_c() argument 1347 CHKFSTR ( CHK_STANDARD, "gfocce_c", bshape ); in gfocce_c() 1412 ( char * ) bshape, in gfocce_c() 1432 ( ftnlen ) strlen(bshape), in gfocce_c()
|
/dports/astro/py-pykep/pykep-2.6/src/third_party/cspice/ |
H A D | gfoclt_c.c | 66 ConstSpiceChar * bshape, in gfoclt_c() argument 1676 CHKFSTR ( CHK_STANDARD, "gfoclt_c", bshape ); in gfoclt_c() 1689 (char *) bshape, in gfoclt_c() 1701 (ftnlen ) strlen(bshape), in gfoclt_c()
|
H A D | occult.c | 54 char bframe[32], fframe[32], bshape[500], bmethd[500], fmethd[500], in occult_() local 1333 s_copy(bshape, prshp2, (ftnlen)500, (ftnlen)9); in occult_() 1343 s_copy(bshape, prshp1, (ftnlen)500, (ftnlen)9); in occult_() 1379 1070)) * 9, front, fshape, fframe, back, bshape, in occult_() 1410 } else if (s_cmp(bshape, "ELLIPSOID", (ftnlen)500, (ftnlen)9) == in occult_() 1411 0 || s_cmp(bshape, "DSK", (ftnlen)500, (ftnlen)3) == 0) { in occult_()
|
H A D | gfocce_c.c | 69 ConstSpiceChar * bshape, in gfocce_c() argument 1347 CHKFSTR ( CHK_STANDARD, "gfocce_c", bshape ); in gfocce_c() 1412 ( char * ) bshape, in gfocce_c() 1432 ( ftnlen ) strlen(bshape), in gfocce_c()
|
/dports/misc/tvm/incubator-tvm-0.6.1/tests/python/contrib/ |
H A D | test_nnpack.py | 105 bshape = (OC, ) 110 bias = tvm.placeholder(bshape, name='bias') 132 nc = np.zeros(bshape, dtype=bias.dtype) 138 …nd = np_conv(np.reshape(na, (BATCH, IC, IH, IW)), nb, PAD, STRIDE) + nc.reshape(1, bshape[0], 1, 1) 167 bshape = (OC, ) 172 bias = tvm.placeholder(bshape, name='bias') 197 …nc = np.random.uniform(size=bshape).astype(bias.dtype) if with_bias else np.zeros(bshape, dtype=bi… 203 …nd = np_conv(np.reshape(na, (BATCH, IC, IH, IW)), nb, PAD, STRIDE) + nc.reshape(1, bshape[0], 1, 1)
|
H A D | test_cblas.py | 25 bshape = (m, l) if transb else (l, m) 27 B = tvm.placeholder(bshape, name='B', dtype=dtype) 49 b = tvm.nd.array(np.random.uniform(size=bshape).astype(B.dtype), ctx) 69 bshape = (batch, m, l) if transb else (batch, l, m) 71 B = tvm.placeholder(bshape, name='B', dtype=dtype) 93 b = tvm.nd.array(np.random.uniform(size=bshape).astype(B.dtype), ctx)
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/tests/python/contrib/ |
H A D | test_nnpack.py | 101 bshape = (OC,) 106 bias = te.placeholder(bshape, name="bias") 129 nc = np.zeros(bshape, dtype=bias.dtype) 136 1, bshape[0], 1, 1 167 bshape = (OC,) 172 bias = te.placeholder(bshape, name="bias") 200 np.random.uniform(size=bshape).astype(bias.dtype) 202 else np.zeros(bshape, dtype=bias.dtype) 210 1, bshape[0], 1, 1
|
H A D | test_cblas.py | 31 bshape = (m, l) if transb else (l, m) 33 B = te.placeholder(bshape, name="B", dtype=dtype) 55 b = tvm.nd.array(np.random.uniform(size=bshape).astype(B.dtype), ctx) 101 bshape = (m, l) if transb else (l, m) 103 B = te.placeholder(bshape, name="B", dtype=kernel_dtype) 125 b = tvm.nd.array(np.random.randint(low=0, high=50, size=bshape).astype(B.dtype), ctx) 153 bshape = (batch, m, l) if transb else (batch, l, m) 155 B = te.placeholder(bshape, name="B", dtype=dtype) 177 b = tvm.nd.array(np.random.uniform(size=bshape).astype(B.dtype), ctx)
|
/dports/misc/py-tvm/incubator-tvm-0.6.1/tests/python/contrib/ |
H A D | test_nnpack.py | 105 bshape = (OC, ) 110 bias = tvm.placeholder(bshape, name='bias') 132 nc = np.zeros(bshape, dtype=bias.dtype) 138 …nd = np_conv(np.reshape(na, (BATCH, IC, IH, IW)), nb, PAD, STRIDE) + nc.reshape(1, bshape[0], 1, 1) 167 bshape = (OC, ) 172 bias = tvm.placeholder(bshape, name='bias') 197 …nc = np.random.uniform(size=bshape).astype(bias.dtype) if with_bias else np.zeros(bshape, dtype=bi… 203 …nd = np_conv(np.reshape(na, (BATCH, IC, IH, IW)), nb, PAD, STRIDE) + nc.reshape(1, bshape[0], 1, 1)
|
H A D | test_cblas.py | 25 bshape = (m, l) if transb else (l, m) 27 B = tvm.placeholder(bshape, name='B', dtype=dtype) 49 b = tvm.nd.array(np.random.uniform(size=bshape).astype(B.dtype), ctx) 69 bshape = (batch, m, l) if transb else (batch, l, m) 71 B = tvm.placeholder(bshape, name='B', dtype=dtype) 93 b = tvm.nd.array(np.random.uniform(size=bshape).astype(B.dtype), ctx)
|
/dports/misc/tvm/incubator-tvm-0.6.1/topi/tests/python/ |
H A D | test_topi_pooling.py | 40 bshape = get_const_tuple(B.shape) 43 assert bshape[2] == int(math.ceil(float(ashape[2] - kh + pt + pb) / sh) + 1) 44 assert bshape[3] == int(math.ceil(float(ashape[3] - kw + pl + pr) / sw) + 1) 46 assert bshape[2] == int(math.floor(float(ashape[2] - kh + pt + pb) / sh) + 1) 47 assert bshape[3] == int(math.floor(float(ashape[3] - kw + pl + pr) / sw) + 1) 102 bshape = get_const_tuple(B.shape) 105 assert bshape[2] == int(math.ceil(float(ashape[2] - kh + pt + pb) / sh) + 1) 106 assert bshape[3] == int(math.ceil(float(ashape[3] - kw + pl + pr) / sw) + 1) 108 assert bshape[2] == int(math.floor(float(ashape[2] - kh + pt + pb) / sh) + 1) 110 OutGrad = tvm.placeholder(bshape, name='OutGrad') [all …]
|
/dports/misc/py-tvm/incubator-tvm-0.6.1/topi/tests/python/ |
H A D | test_topi_pooling.py | 40 bshape = get_const_tuple(B.shape) 43 assert bshape[2] == int(math.ceil(float(ashape[2] - kh + pt + pb) / sh) + 1) 44 assert bshape[3] == int(math.ceil(float(ashape[3] - kw + pl + pr) / sw) + 1) 46 assert bshape[2] == int(math.floor(float(ashape[2] - kh + pt + pb) / sh) + 1) 47 assert bshape[3] == int(math.floor(float(ashape[3] - kw + pl + pr) / sw) + 1) 102 bshape = get_const_tuple(B.shape) 105 assert bshape[2] == int(math.ceil(float(ashape[2] - kh + pt + pb) / sh) + 1) 106 assert bshape[3] == int(math.ceil(float(ashape[3] - kw + pl + pr) / sw) + 1) 108 assert bshape[2] == int(math.floor(float(ashape[2] - kh + pt + pb) / sh) + 1) 110 OutGrad = tvm.placeholder(bshape, name='OutGrad') [all …]
|
/dports/math/py-Pyomo/Pyomo-6.1.2/pyomo/contrib/pynumero/sparse/tests/ |
H A D | test_mpi_block_matrix.py | 291 self.assertEqual(mat1.bshape[1], res.bshape[0]) 292 self.assertEqual(mat1.bshape[0], res.bshape[1]) 302 self.assertEqual(mat2.bshape[1], res.bshape[0]) 303 self.assertEqual(mat2.bshape[0], res.bshape[1]) 313 self.assertEqual(mat1.bshape[1], res.bshape[0]) 314 self.assertEqual(mat1.bshape[0], res.bshape[1]) 324 self.assertEqual(mat2.bshape[1], res.bshape[0]) 325 self.assertEqual(mat2.bshape[0], res.bshape[1]) 335 self.assertEqual(mat1.bshape[1], res.bshape[0]) 336 self.assertEqual(mat1.bshape[0], res.bshape[1]) [all …]
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/tests/python/topi/python/ |
H A D | test_topi_pooling.py | 70 bshape = get_const_tuple(B.shape) 73 assert bshape[2] == int(math.ceil(float(ashape[2] - kh + pt + pb) / sh) + 1) 74 assert bshape[3] == int(math.ceil(float(ashape[3] - kw + pl + pr) / sw) + 1) 76 assert bshape[2] == int(math.floor(float(ashape[2] - kh + pt + pb) / sh) + 1) 77 assert bshape[3] == int(math.floor(float(ashape[3] - kw + pl + pr) / sw) + 1) 146 bshape = get_const_tuple(B.shape) 149 assert bshape[2] == int(math.ceil(float(ashape[2] - kh + pt + pb) / sh) + 1) 150 assert bshape[3] == int(math.ceil(float(ashape[3] - kw + pl + pr) / sw) + 1) 152 assert bshape[2] == int(math.floor(float(ashape[2] - kh + pt + pb) / sh) + 1) 154 OutGrad = te.placeholder(bshape, name="OutGrad") [all …]
|
/dports/graphics/rawtherapee/rawtherapee-5.8/rtgui/ |
H A D | labcurve.cc | 111 bshape->setRangeLabels( in LCurve() 115 bshape->setEditID(EUID_Lab_bCurve, BT_SINGLEPLANE_FLOAT); in LCurve() 122 bshape->setBottomBarBgGradient(milestones); in LCurve() 123 bshape->setLeftBarBgGradient(milestones); in LCurve() 251 bshape->setUnChanged (!pedited->labCurve.bcurve); in read() 285 bshape->setCurve (pp->labCurve.bcurve); in read() 310 active = bshape->openIfNonlinear(); in autoOpenCurve() 349 bshape->setEditProvider(provider); in setEditProvider() 370 pp->labCurve.bcurve = bshape->getCurve (); in write() 391 pedited->labCurve.bcurve = !bshape->isUnChanged (); in write() [all …]
|
/dports/devel/love/love-11.3/src/modules/physics/box2d/ |
H A D | Fixture.cpp | 71 b2Shape *bshape = fixture->GetShape(); in checkCreateShape() local 73 switch (bshape->GetType()) in checkCreateShape() 76 shape.set(new CircleShape((b2CircleShape *) bshape, false), Acquire::NORETAIN); in checkCreateShape() 79 shape.set(new EdgeShape((b2EdgeShape *) bshape, false), Acquire::NORETAIN); in checkCreateShape() 82 shape.set(new PolygonShape((b2PolygonShape *) bshape, false), Acquire::NORETAIN); in checkCreateShape() 85 shape.set(new ChainShape((b2ChainShape *) bshape, false), Acquire::NORETAIN); in checkCreateShape()
|
/dports/misc/tvm/incubator-tvm-0.6.1/tests/webgl/ |
H A D | test_local_topi_pooling.py | 38 bshape = get_const_tuple(B.shape) 41 assert bshape[2] == int(math.ceil(float(ashape[2] - kh + ph * 2) / sh) + 1) 42 assert bshape[3] == int(math.ceil(float(ashape[3] - kw + pw * 2) / sw) + 1) 44 assert bshape[2] == int(math.floor(float(ashape[2] - kh + ph * 2) / sh) + 1) 45 assert bshape[3] == int(math.floor(float(ashape[3] - kw + pw * 2) / sw) + 1)
|
/dports/misc/py-tvm/incubator-tvm-0.6.1/tests/webgl/ |
H A D | test_local_topi_pooling.py | 38 bshape = get_const_tuple(B.shape) 41 assert bshape[2] == int(math.ceil(float(ashape[2] - kh + ph * 2) / sh) + 1) 42 assert bshape[3] == int(math.ceil(float(ashape[3] - kw + pw * 2) / sw) + 1) 44 assert bshape[2] == int(math.floor(float(ashape[2] - kh + ph * 2) / sh) + 1) 45 assert bshape[3] == int(math.floor(float(ashape[3] - kw + pw * 2) / sw) + 1)
|