/dports/misc/py-mxnet/incubator-mxnet-1.9.0/plugin/torch/ |
H A D | torch_criterion-inl.h | 192 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()
|
/dports/math/R-cran-VGAM/VGAM/R/ |
H A D | family.aunivariate.R | 34 lshape <- as.list(substitute(lshape)) 35 eshape <- link2list(lshape) 54 lshape = .lshape , nameattr 1267 lshape <- as.list(substitute(lshape)) 3319 lshape <- as.list(substitute(lshape)) 4032 lshape <- as.list(substitute(lshape)) # orig 4364 lshape <- as.list(substitute(lshape)) 4383 lshape = .lshape ) nameattr 4698 lshape <- as.list(substitute(lshape)) 4946 lshape <- as.list(substitute(lshape)) [all …]
|
H A D | family.others.R | 155 lshape <- as.list(substitute(lshape)) 156 eshape <- link2list(lshape) 201 lshape = .lshape , nameattr 467 lshape <- as.list(substitute(lshape)) 468 eshape <- link2list(lshape) 508 lshape = .lshape , nameattr 747 lshape <- as.list(substitute(lshape)) 748 eshape <- link2list(lshape) 796 lshape = .lshape , nameattr 1047 lshape <- as.list(substitute(lshape)) [all …]
|
H A D | family.extremes.R | 232 lshape <- as.list(substitute(lshape)) 233 eshape <- link2list(lshape) 279 lshape = .lshape , nameattr 723 lshape <- as.list(substitute(lshape)) 724 eshape <- link2list(lshape) 768 lshape = .lshape , nameattr 1663 lshape <- as.list(substitute(lshape)) 1664 eshape <- link2list(lshape) 2754 lshape <- as.list(substitute(lshape)) 2783 lshape = .lshape , nameattr [all …]
|
H A D | family.censored.R | 740 lshape <- as.list(substitute(lshape)) 741 eshape <- link2list(lshape) 742 lshape <- attr(eshape, "function.name") 794 lshape = .lshape , nameattr 870 }, list( .lmeann = lmeann, .lshape = lshape, 928 }, list( .lmeann = lmeann, .lshape = lshape, 1001 lshape <- as.list(substitute(lshape)) 1002 eshape <- link2list(lshape) 1003 lshape <- attr(eshape, "function.name") 1067 lshape = .lshape , nameattr [all …]
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/tensor/ |
H A D | dot-inl.h | 1216 CHECK_EQ(lshape[0], rshape[0]) << "dot shape error: " << lshape << " X " << rshape; in DotShape() 1223 L[1] = lshape.ndim() > 1 ? in DotShape() 1224 mxnet::TShape(&lshape[1], lshape.end()) : mxnet::TShape(1, 1); in DotShape() 1226 L[0] = lshape.ndim() > 1 ? in DotShape() 1227 mxnet::TShape(&lshape[0], &lshape[lshape.ndim()-1]) : mxnet::TShape(1, 1); in DotShape() 1228 L[1] = mshadow::Shape1(lshape[lshape.ndim()-1]); in DotShape() 1421 if (lshape.ndim() >= 3 && rshape.ndim() >= 3 && lshape.ndim() == rshape.ndim()) { in BatchDotShape() 1422 int ndim = lshape.ndim(); in BatchDotShape() 1428 CHECK_EQ(lshape[i], rshape[i]) in BatchDotShape() 1433 dim_t out_m = param.transpose_a ? lshape[ndim - 1] : lshape[ndim - 2]; in BatchDotShape() [all …]
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/operator/tensor/ |
H A D | dot-inl.h | 1216 CHECK_EQ(lshape[0], rshape[0]) << "dot shape error: " << lshape << " X " << rshape; in DotShape() 1223 L[1] = lshape.ndim() > 1 ? in DotShape() 1224 mxnet::TShape(&lshape[1], lshape.end()) : mxnet::TShape(1, 1); in DotShape() 1226 L[0] = lshape.ndim() > 1 ? in DotShape() 1227 mxnet::TShape(&lshape[0], &lshape[lshape.ndim()-1]) : mxnet::TShape(1, 1); in DotShape() 1228 L[1] = mshadow::Shape1(lshape[lshape.ndim()-1]); in DotShape() 1421 if (lshape.ndim() >= 3 && rshape.ndim() >= 3 && lshape.ndim() == rshape.ndim()) { in BatchDotShape() 1422 int ndim = lshape.ndim(); in BatchDotShape() 1428 CHECK_EQ(lshape[i], rshape[i]) in BatchDotShape() 1433 dim_t out_m = param.transpose_a ? lshape[ndim - 1] : lshape[ndim - 2]; in BatchDotShape() [all …]
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/python/mxnet/contrib/ |
H A D | io.py | 84 lshape = self._current_batch[1].shape 85 ret = nd.empty(shape=([self.batch_size] + list(lshape[1:]))) 86 ret[:lshape[0]] = self._current_batch[1].astype(self.dtype)
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/python/mxnet/contrib/ |
H A D | io.py | 84 lshape = self._current_batch[1].shape 85 ret = nd.empty(shape=([self.batch_size] + list(lshape[1:]))) 86 ret[:lshape[0]] = self._current_batch[1].astype(self.dtype)
|
/dports/math/R-cran-VGAM/VGAM/man/ |
H A D | gaitzeta.Rd | 25 parallel.ap = FALSE, parallel.ip = FALSE, lshape.p = "loglink", 26 lshape.a = lshape.p, lshape.i = lshape.p, 60 \item{lshape.p, lshape.a, lshape.i}{
|
H A D | gaitlog.Rd | 28 parallel.ap = FALSE, parallel.ip = FALSE, lshape.p = "logitlink", 29 lshape.a = lshape.p, lshape.i = lshape.p, 58 \item{lshape.p, lshape.a, lshape.i}{
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/ |
H A D | regression_output-inl.h | 61 auto &lshape = (*in_attrs)[1]; in RegressionOpShape() local 63 if (lshape.ndim() == -1) { in RegressionOpShape() 67 lshape = Shape1(dshape[0]); in RegressionOpShape() 69 lshape = dshape; in RegressionOpShape() 71 } else if (lshape[0] != dshape[0] || lshape.Size() != dshape.Size()) { in RegressionOpShape() 73 os << "Shape inconsistent, Provided=" << lshape << ',' in RegressionOpShape()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/operator/ |
H A D | regression_output-inl.h | 61 auto &lshape = (*in_attrs)[1]; in RegressionOpShape() local 63 if (lshape.ndim() == -1) { in RegressionOpShape() 67 lshape = Shape1(dshape[0]); in RegressionOpShape() 69 lshape = dshape; in RegressionOpShape() 71 } else if (lshape[0] != dshape[0] || lshape.Size() != dshape.Size()) { in RegressionOpShape() 73 os << "Shape inconsistent, Provided=" << lshape << ',' in RegressionOpShape()
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/contrib/ |
H A D | multibox_target-inl.h | 222 mxnet::TShape lshape = in_shape->at(mboxtarget_enum::kLabel); in InferShape() local 223 CHECK_EQ(lshape.ndim(), 3) << "Label should be [batch, num_labels, label_width] tensor"; in InferShape() 224 CHECK_GT(lshape[1], 0) << "Padded label should be greater than 0"; in InferShape() 225 CHECK_GE(lshape[2], 5) << "Label width should be greater than or equal to 5"; 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()
|
H A D | multibox_detection-inl.h | 154 mxnet::TShape lshape = in_shape->at(mboxdet_enum::kLocPred); in InferShape() local 157 CHECK_EQ(lshape.ndim(), 2U) << "Provided: " << lshape; in InferShape() 160 CHECK_EQ(cshape[2] * 4, lshape[1]) << "# anchors mismatch with # loc"; in InferShape()
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/quantization/ |
H A D | quantized_elemwise_mul.cc | 47 const mxnet::TShape &lshape = (*in_attrs)[quantized_elemwise_mul::kLhs]; in QuantizedElemwiseMulOpShape() local 49 if (!ndim_is_known(lshape) || !ndim_is_known(rshape)) return false; in QuantizedElemwiseMulOpShape() 50 CHECK_EQ(lshape.ndim(), rshape.ndim()) in QuantizedElemwiseMulOpShape() 52 for (int i = 0; i < lshape.ndim(); ++i) { in QuantizedElemwiseMulOpShape() 53 CHECK_EQ(lshape[i], rshape[i]); in QuantizedElemwiseMulOpShape() 61 SHAPE_ASSIGN_CHECK(*out_attrs, quantized_elemwise_mul::kOut, lshape); in QuantizedElemwiseMulOpShape()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/operator/contrib/ |
H A D | multibox_target-inl.h | 222 mxnet::TShape lshape = in_shape->at(mboxtarget_enum::kLabel); in InferShape() local 223 CHECK_EQ(lshape.ndim(), 3) << "Label should be [batch, num_labels, label_width] tensor"; in InferShape() 224 CHECK_GT(lshape[1], 0) << "Padded label should be greater than 0"; in InferShape() 225 CHECK_GE(lshape[2], 5) << "Label width should be greater than or equal to 5"; 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()
|
H A D | multibox_detection-inl.h | 154 mxnet::TShape lshape = in_shape->at(mboxdet_enum::kLocPred); in InferShape() local 157 CHECK_EQ(lshape.ndim(), 2U) << "Provided: " << lshape; in InferShape() 160 CHECK_EQ(cshape[2] * 4, lshape[1]) << "# anchors mismatch with # loc"; in InferShape()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/operator/quantization/ |
H A D | quantized_elemwise_mul.cc | 47 const mxnet::TShape &lshape = (*in_attrs)[quantized_elemwise_mul::kLhs]; in QuantizedElemwiseMulOpShape() local 49 if (!ndim_is_known(lshape) || !ndim_is_known(rshape)) return false; in QuantizedElemwiseMulOpShape() 50 CHECK_EQ(lshape.ndim(), rshape.ndim()) in QuantizedElemwiseMulOpShape() 52 for (int i = 0; i < lshape.ndim(); ++i) { in QuantizedElemwiseMulOpShape() 53 CHECK_EQ(lshape[i], rshape[i]); in QuantizedElemwiseMulOpShape() 61 SHAPE_ASSIGN_CHECK(*out_attrs, quantized_elemwise_mul::kOut, lshape); in QuantizedElemwiseMulOpShape()
|
/dports/lang/pcc/pcc-1.1.0/mip/ |
H A D | match.c | 561 if ((shl = chcheck(l, q->lshape, q->rewrite & RLEFT)) == SRNOPE) in findops() 608 sh = shswitch(sh, p->n_left, qq->lshape, cookie, in findops() 671 if ((shl = chcheck(l, q->lshape, 0)) == SRNOPE) in relops() 699 (void)shswitch(-1, p->n_left, q->lshape, INREGS, in relops() 762 if ((shl = chcheck(l, q->lshape, in findasg() 768 if ((shl = tshape(l, q->lshape)) == SRNOPE) in findasg() 804 sh = shswitch(sh, p->n_left, qq->lshape, cookie, in findasg() 1041 sh = shswitch(-1, p->n_left, q->lshape, cookie, in finduni() 1124 if (((cookie & INREGS & q->lshape) == 0) || !isreg(l)) in findmops() 1133 if ((shl = tshape(l, q->lshape)) != SRDIR && (shl != SROREG)) in findmops() [all …]
|
/dports/misc/tvm/incubator-tvm-0.6.1/nnvm/src/top/vision/ssd/ |
H A D | mutibox_op.cc | 110 TShape lshape = in_attrs->at(1); in MultiBoxTransformLocShape() local 113 CHECK_EQ(lshape.ndim(), 2U) << "Location prediction should be 2-D."; in MultiBoxTransformLocShape() 116 CHECK_EQ(cshape[2] * 4, lshape[1]) << "# anchors mismatch with # loc."; in MultiBoxTransformLocShape()
|
/dports/misc/py-tvm/incubator-tvm-0.6.1/nnvm/src/top/vision/ssd/ |
H A D | mutibox_op.cc | 110 TShape lshape = in_attrs->at(1); in MultiBoxTransformLocShape() local 113 CHECK_EQ(lshape.ndim(), 2U) << "Location prediction should be 2-D."; in MultiBoxTransformLocShape() 116 CHECK_EQ(cshape[2] * 4, lshape[1]) << "# anchors mismatch with # loc."; in MultiBoxTransformLocShape()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/perl-package/AI-MXNet/t/ |
H A D | test_module.t | 704 my $lshape = [10]; 709 label_shapes=>[['softmax_label', $lshape]]); 716 label=>[mx->nd->ones($lshape)]); 725 $lshape = [3]; 728 label=>[mx->nd->ones($lshape)]); 736 $lshape = [20]; 739 label=>[mx->nd->ones($lshape)]); 748 $lshape = [20]; 751 label=>[mx->nd->ones($lshape)]); 759 $lshape = [5]; [all …]
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/perl-package/AI-MXNet/t/ |
H A D | test_module.t | 704 my $lshape = [10]; 709 label_shapes=>[['softmax_label', $lshape]]); 716 label=>[mx->nd->ones($lshape)]); 725 $lshape = [3]; 728 label=>[mx->nd->ones($lshape)]); 736 $lshape = [20]; 739 label=>[mx->nd->ones($lshape)]); 748 $lshape = [20]; 751 label=>[mx->nd->ones($lshape)]); 759 $lshape = [5]; [all …]
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/nn/ |
H A D | ctc_loss-inl.h | 217 const mxnet::TShape &lshape = (*in_attrs)[ctc_loss::kLabel]; in CTCLossOpShape() local 219 CHECK_EQ(lshape.ndim(), 2U) << "The number of dimensions of labels array must be 2."; in CTCLossOpShape() 220 CHECK_EQ(dshape[1], lshape[0]) in CTCLossOpShape() 234 CHECK_EQ(llshape[0], lshape[0]) in CTCLossOpShape() 237 CHECK_GE(dshape[0], lshape[1]) << "The max number of labels cannot exceed " in CTCLossOpShape()
|