31 auto x2 =
x.Reshape({1, 4}).Squeeze();
35 auto x3 =
x.Reshape({2, 2}).
Slice({{0, 2}, {0, 1}});
39 float data[] = {5, 6, 7, 8};
44 auto data2 = std::make_shared<std::vector<float>>(4);
46 for (
auto &
v : *data2) {
static const double x2[5]
static const double x3[11]
RTensor is a container with contiguous memory and shape information.
RooCmdArg Slice(const RooArgSet &sliceSet)