Home
last modified time | relevance | path

Searched defs:shape (Results 1 – 25 of 873) sorted by relevance

12345678910>>...35

/third_party/mindspore/tests/ut/data/dataset/testTFTestAllTypes/
DdatasetSchemaNoRow.json7 "shape": [1] array
12 "shape": [1] array
17 "shape": [1] array
22 "shape": [1] array
27 "shape": [2] array
32 "shape": [2, 2] array
37 "shape": [2, 2, 2] array
42 "shape": [1] array
DdatasetSchema5Rows.json8 "shape": [1] array
13 "shape": [1] array
18 "shape": [1] array
23 "shape": [1] array
28 "shape": [2] array
33 "shape": [2, 2] array
38 "shape": [2, 2, 2] array
43 "shape": [1] array
DdatasetSchema1Row.json8 "shape": [1] array
13 "shape": [1] array
18 "shape": [1] array
23 "shape": [1] array
28 "shape": [2] array
33 "shape": [2, 2] array
38 "shape": [2, 2, 2] array
43 "shape": [1] array
DdatasetSchema7Rows.json8 "shape": [1] array
13 "shape": [1] array
18 "shape": [1] array
23 "shape": [1] array
28 "shape": [2] array
33 "shape": [2, 2] array
38 "shape": [2, 2, 2] array
43 "shape": [1] array
DdatasetSchemaPadBytes10.json8 "shape": [1] array
13 "shape": [1] array
18 "shape": [1] array
23 "shape": [1] array
28 "shape": [2] array
33 "shape": [2, 2] array
38 "shape": [2, 2, 2] array
43 "shape": [-1, 10] array
DdatasetSchema.json8 "shape": [1] array
13 "shape": [1] array
18 "shape": [1] array
23 "shape": [1] array
28 "shape": [2] array
33 "shape": [2, 2] array
38 "shape": [2, 2, 2] array
43 "shape": [1] array
/third_party/mindspore/tests/ut/data/dataset/testBatchDataset/
DdatasetSchema.json8 "shape": [1] array
13 "shape": [1] array
18 "shape": [1] array
23 "shape": [1] array
28 "shape": [2] array
33 "shape": [2, 2] array
38 "shape": [2, 2, 2] array
43 "shape": [1] array
/third_party/mindspore/tests/ut/data/dataset/testTFBert5Rows/
DdatasetSchema.json8 "shape": [1] array
13 "shape": [20] array
18 "shape": [20] array
23 "shape": [20] array
28 "shape": [128] array
33 "shape": [128] array
38 "shape": [128] array
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/tbe_kernel_select/
Dtbe_kernel_broadcast_selecter.cc82 for (const auto &shape : input_shapes_) { in IsBroadCastSupport5HD() local
96 for (const auto &shape : input_shapes_) { in IsBroadCastSupport5HD() local
130 for (const auto &shape : input_shapes_) { in IsBroadCastSupportFracZ() local
164 for (const auto &shape : input_shapes_) { in IsBroadCastSupportC1HWNCoC0() local
178 for (const auto &shape : input_shapes_) { in IsBroadCastSupportC1HWNCoC0() local
213 for (const auto &shape : input_shapes_) { in IsBroadCastSupportFracNZ() local
266 for (const auto &shape : input_shapes_) { in IsBroadCastSupportNDC1HWC0() local
278 for (const auto &shape : input_shapes_) { in IsBroadCastSupportNDC1HWC0() local
308 auto shape = input_shapes_.begin(); in IsSameShape() local
335 for (const auto &shape : input_shapes_) { in HasScalarInput() local
[all …]
/third_party/boost/boost/math/distributions/
Dinverse_gamma.hpp40 RealType shape, // shape aka alpha in check_inverse_gamma_shape()
78 RealType shape, // shape aka alpha in check_inverse_gamma()
103 RealType shape()const in shape() function in boost::math::inverse_gamma_distribution
150 RealType shape = dist.shape(); in pdf() local
198 RealType shape = dist.shape(); in cdf() local
227 RealType shape = dist.shape(); in quantile() local
253 RealType shape = c.dist.shape(); in cdf() local
277 RealType shape = c.dist.shape(); in quantile() local
305 RealType shape = dist.shape(); in mean() local
332 RealType shape = dist.shape(); in variance() local
[all …]
Dgamma.hpp29 RealType shape, in check_gamma_shape()
62 RealType shape, in check_gamma()
84 RealType shape()const in shape() function in boost::math::gamma_distribution
126 RealType shape = dist.shape(); in pdf() local
150 RealType shape = dist.shape(); in cdf() local
170 RealType shape = dist.shape(); in quantile() local
194 RealType shape = c.dist.shape(); in cdf() local
215 RealType shape = c.dist.shape(); in quantile() local
240 RealType shape = dist.shape(); in mean() local
258 RealType shape = dist.shape(); in variance() local
[all …]
Dweibull.hpp28 RealType shape, in check_weibull_shape()
61 RealType shape, in check_weibull()
83 RealType shape()const in shape() function in boost::math::weibull_distribution
126 RealType shape = dist.shape(); in pdf() local
160 RealType shape = dist.shape(); in cdf() local
181 RealType shape = dist.shape(); in quantile() local
205 RealType shape = c.dist.shape(); in cdf() local
226 RealType shape = c.dist.shape(); in quantile() local
251 RealType shape = dist.shape(); in mean() local
265 RealType shape = dist.shape(); in variance() local
[all …]
Dpareto.hpp64 RealType shape, in check_pareto_shape()
123 RealType shape, in check_pareto()
151 RealType shape()const in shape() function in boost::math::pareto_distribution
184 RealType shape = dist.shape(); in pdf() local
203 RealType shape = dist.shape(); in cdf() local
227 RealType shape = dist.shape(); in quantile() local
255 RealType shape = c.dist.shape(); in cdf() local
277 RealType shape = c.dist.shape(); in quantile() local
340 RealType shape = dist.shape(); in variance() local
365 RealType shape = dist.shape(); in skewness() local
[all …]
/third_party/mindspore/tests/ut/data/dataset/testTFBert5Rows1/
DdatasetSchema.json8 "shape": [1] array
13 "shape": [20] array
18 "shape": [20] array
23 "shape": [20] array
28 "shape": [128] array
/third_party/mindspore/tests/ut/cpp/parallel/
Ddevice_matrix_test.cc35 Shape shape = {2, 3}; in TEST_F() local
46 Shape shape = {2, 2, 3}; in TEST_F() local
57 Shape shape = {2, 1, 4, 2}; in TEST_F() local
69 Shape shape = {3, 4, 2, 3, 2}; in TEST_F() local
81 Shape shape = {2, 2, 2}; in TEST_F() local
90 Shape shape = {4, 2}; in TEST_F() local
101 Shape shape = {4, 2}; in TEST_F() local
112 Shape shape = {4, 2}; in TEST_F() local
122 Shape shape = {2, 2, 2}; in TEST_F() local
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/
Dcommon_func.c19 int Offset(const int *shape, const int dim0, const int dim1, const int dim2, const int dim3) { in Offset()
23 int OffsetComm(const int *shape, const int dim0, const int dim1, const int dim2) { in OffsetComm()
27 int Offset4d(const int *shape, const int *dims) { return Offset(shape, dims[0], dims[1], dims[2], d… in Offset4d()
29 int Offset6d(const int *shape, const int *dims) { in Offset6d()
/third_party/mindspore/mindspore/ops/composite/
Drandom_ops.py30 def normal(shape, mean, stddev, seed=None): argument
86 def laplace(shape, mean, lambda_param, seed=None): argument
133 def uniform(shape, minval, maxval, seed=None, dtype=mstype.float32): argument
203 def gamma(shape, alpha, beta, seed=None): argument
279 def poisson(shape, mean, seed=None): argument
/third_party/mindspore/tests/st/auto_monad/
Dtest_effect_random.py33 def __init__(self, shape, seed=0): argument
59 def __init__(self, shape=None, seed=0): argument
86 def __init__(self, shape=None, seed=0): argument
113 def __init__(self, shape=None, seed=0): argument
140 def __init__(self, shape=None, seed=0): argument
166 def __init__(self, shape=None, seed=0): argument
193 def __init__(self, shape, seed=0, seed2=0): argument
220 def __init__(self, shape, seed=0, seed2=0): argument
247 def __init__(self, shape, alpha, beta, seed=0, seed2=0): argument
278 def __init__(self, shape, seed=0, seed2=0): argument
[all …]
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/base/
Dgroup_convolution_creator.h43 auto shape = origin_outputs_.front()->shape(); in GroupConvCreator() local
59 void set_input_shape(const std::vector<int> &shape) { input_shape_ = shape; } in set_input_shape()
60 void set_output_shape(const std::vector<int> &shape) { output_shape_ = shape; } in set_output_shape()
61 void set_filter_shape(const std::vector<int> &shape) { filter_shape_ = shape; } in set_filter_shape()
62 void set_bias_shape(const std::vector<int> &shape) { bias_shape_ = shape; } in set_bias_shape()
/third_party/mindspore/mindspore/lite/tools/optimizer/fisson/
Dnode_out_shapes.cc43 const auto &shape = in_shape->cast<abstract::ShapePtr>()->shape(); in Run() local
55 auto shape = out_shape->cast<abstract::TupleShapePtr>(); in Run() local
65 const auto &shape = out_shape->cast<abstract::ShapePtr>()->shape(); in Run() local
/third_party/mindspore/tests/ut/data/dataset/testDataset2/
DdatasetSchema.json8 "shape": [3, 4, 2], array
14 "shape": [7], array
20 "shape": [1, 13, 14, 12], array
26 "shape": [9], array
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/
Dcv_tensor.cc31 Status CVTensor::CreateEmpty(const TensorShape &shape, DataType type, CVTensorPtr *out) { in CreateEmpty()
53 TensorShape shape({}); in CreateFromMat() local
68 std::pair<std::array<int, 2>, int> CVTensor::IsValidImage(const TensorShape &shape, const DataType … in IsValidImage()
97 Status CVTensor::MatInit(uchar *data, const TensorShape &shape, const DataType &type, cv::Mat *mat)… in MatInit()
117 Status CVTensor::Reshape(const TensorShape &shape) { in Reshape()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/expanders/
Dreshape.cc32 static ShapeVector InferShape(const ShapeVector &shape, const std::vector<int64_t> &axis) { in InferShape()
52 … auto shape = MakeValue(ExpandDims::InferShape(input_x->shape, GetAxisList(this->attrs_["axis"]))); in Expand() local
59 ShapeVector ExpandDimsInferShape(const ShapeVector &shape, const std::vector<int64_t> &axis) { in ExpandDimsInferShape()
/third_party/mindspore/mindspore/core/ir/
Dtensor.cc55 static size_t SizeOf(const ShapeVector &shape) { in SizeOf()
59 static std::string ShapeToString(const ShapeVector &shape) { in ShapeToString()
101 std::unique_ptr<T[]> CopyData(const ShapeVector &shape, void *const data, TypeId data_type) { in CopyData()
171 std::unique_ptr<T[]> CopyData(const ShapeVector &shape, void *const data, size_t data_len) { in CopyData()
185 …explicit TensorDataImpl(const ShapeVector &shape) : ndim_(shape.size()), data_size_(SizeOf(shape))… in TensorDataImpl()
188 TensorDataImpl(const ShapeVector &shape, void *data, size_t data_len) in TensorDataImpl()
191 TensorDataImpl(const ShapeVector &shape, void *data, TypeId data_type) in TensorDataImpl()
195 TensorDataImpl(const ShapeVector &shape, const U *input, size_t size) in TensorDataImpl()
199 TensorDataImpl(const ShapeVector &shape, Scalar scalar) in TensorDataImpl()
239 std::string ToString(const TypeId type, const ShapeVector &shape, bool use_comma) const override { in ToString() argument
[all …]
/third_party/boost/libs/python/src/numpy/
Dndarray.cpp42 bool is_c_contiguous(std::vector<Py_intptr_t> const & shape, in is_c_contiguous()
56 bool is_f_contiguous(std::vector<Py_intptr_t> const & shape, in is_f_contiguous()
88 python::object const & shape, in from_data_impl()
110 std::vector<Py_intptr_t> const & shape, in from_data_impl()
155 Py_intptr_t ndarray::shape(int n) const in shape() function in boost::python::numpy::ndarray
237 ndarray zeros(python::tuple const & shape, dtype const & dt) in zeros()
246 ndarray zeros(int nd, Py_intptr_t const * shape, dtype const & dt) in zeros()
252 ndarray empty(python::tuple const & shape, dtype const & dt) in empty()
261 ndarray empty(int nd, Py_intptr_t const * shape, dtype const & dt) in empty()

12345678910>>...35