Home
last modified time | relevance | path

Searched defs:shape2 (Results 1 – 25 of 61) sorted by relevance

123

/third_party/mindspore/mindspore-src/source/tests/st/ops/
Dtest_ops_matmul_ext.py62 def test_ops(context_mode, shape1, shape2, output_shape1, output_shape2): argument
92 def test_ops_f16(context_mode, shape1, shape2): argument
117 def test_ops_bf16(context_mode, shape1, shape2): argument
Dtest_ops_batch_matmul_ext.py46 def test_ops(context_mode, shape1, shape2): argument
77 def test_ops_network(context_mode, shape1, shape2, dtype): argument
/third_party/mindspore/mindspore-src/source/tests/ut/cpp/symbol_engine/ops/
Dtest_elemwise_binop.cc26 ShapeVector shape2; member
44 auto shape2 = b->abstract()->GetSymbolicShape(); in TEST_P() local
Dtest_matmul.cc27 ShapeVector shape2; member
67 auto shape2 = b->abstract()->GetSymbolicShape(); in TEST_P() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/test/ut/src/runtime/kernel/arm/int8/
Dmul_int8_tests.cc38 std::vector<int> shape2 = {2, 1, 2}; in TEST_F() local
112 std::vector<int> shape2 = {2, 1, 3}; in TEST_F() local
186 std::vector<int> shape2 = {2, 1, 2}; in TEST_F() local
260 std::vector<int> shape2 = {2, 1, 2}; in TEST_F() local
334 std::vector<int> shape2 = {2, 3}; in TEST_F() local
Dconcat_int8_tests.cc37 std::vector<int> shape2 = {3, 2}; in TEST_F() local
112 std::vector<int> shape2 = {2, 1, 2}; in TEST_F() local
188 std::vector<int> shape2 = {2, 1, 2}; in TEST_F() local
/third_party/mindspore/mindspore-src/source/tests/st/ops/graph_kernel/
Dtest_dvm_profiler.py30 def fuse(shape1, shape2, dtype): argument
Dtest_dvm.py71 def fuse(shape1, shape2, dtype): argument
95 def test_easy_fuse_dvm(shape1, shape2, dtype): argument
Dtest_squared_difference.py39 def test_squared_difference(shape1, shape2, dtype): argument
Dtest_relu_grad.py39 def test_relu_grad(shape1, shape2, dtype): argument
Dtest_bias_add.py39 def test_bias_add(shape1, shape2, data_format, dtype): argument
Dtest_gelu_grad.py39 def relu_grad_test(shape1, shape2, dtype): argument
Dtest_clip_by_norm_no_div_sum.py47 def run_clip_by_norm_no_div_sum(shape0, shape1, shape2, shape3, dtype): argument
Dtest_layernorm_stitch.py72 def test_layernorm(shape1, shape2, dtype): argument
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/cpu/kernel/
Ddense_to_sparse_set_operation_cpu_kernel.cc76 bool CheckShapesMatch(ShapeVector shape1, ShapeVector shape2) { in CheckShapesMatch()
86 bool GroupShapeFromInputs(ShapeVector shape1, ShapeVector shape2, ShapeVector *const group_shape) { in GroupShapeFromInputs()
186 void ValidateIndices(kernel::KernelTensor *indices, ShapeVector shape2, int64_t set2_nums, int64_t … in ValidateIndices()
340 ShapeVector shape2(shape2_ptr, shape2_ptr + shape2_size); in LaunchKernel() local
/third_party/mindspore/mindspore-src/source/tests/ut/cpp/core/abstract/
Dutils_test.cc58 auto shape2 = std::make_shared<Shape>(shape_vec2); in ShapeJoinCheck() local
73 auto shape2 = std::make_shared<Shape>(shape_vec2); in ShapeJoinCheck() local
/third_party/mindspore/mindspore-src/source/mindspore/core/ops/ops_func_impl/
Dmatmul_ext.cc36 ShapeVector CheckMatMulShapes(const ShapeVector &shape1, const ShapeVector &shape2) { in CheckMatMulShapes()
84 …erShapeRem(const ShapeVector &shape_backbone, const ShapeVector &shape1, const ShapeVector &shape2, in InferShapeRem()
Daddn.cc38 bool AddNDynShapeJoin(ShapeVector *shape1, const ShapeVector *shape2) { in AddNDynShapeJoin()
/third_party/mindspore/mindspore-src/source/tests/ut/cpp/mindapi/
Dmindapi_test.cc354 ShapeVector shape2{2, 3}; in TEST_F() local
378 ShapeVector shape2{2, 3}; in TEST_F() local
497 ShapeVector shape2{2, 3, 4}; in TEST_F() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/kernel/aicpu/aicpu_ops/cpu_kernel/ms_kernel/
Ddensetodense_set_operation.cc85 uint32_t ChecksShapesMatch(const std::vector<int64_t> &shape1, const std::vector<int64_t> &shape2) { in ChecksShapesMatch()
96const std::vector<int64_t> &shape2, std::vector<int64_t> *group_shape) { in GroupShapeFromDenseInputs()
269 const auto shape2 = set2_t->GetTensorShape()->GetDimSizes(); in DoCompute() local
Ddensetosparsesetoperation.cc63 uint32_t CheckShapesMatch(const std::vector<int64_t> &shape1, const std::vector<int64_t> &shape2) { in CheckShapesMatch()
74const std::vector<int64_t> &shape2, std::vector<int64_t> &group_shape) { in GroupsShapeFromInputs()
264 std::vector<int64_t> shape2(set2_shape.size()); in ComputeDenseToSparse() local
/third_party/mindspore/mindspore-src/source/tests/ut/python/parallel/
Dtest_reshape_consecutive.py52 def __init__(self, shape1, shape2): argument
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/frontend/expander/bprop/grad_ops/
Dgrad_inner_ops.cc187 ShapeVector shape2(x_shape.begin() + 2, x_shape.end()); in __anon79cd20190202() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/frontend/parallel/ops_info/
Dselect_info.cc33 …ectInfo::CheckIsBroadcast(const std::vector<int64_t> &shape1, const std::vector<int64_t> &shape2) { in CheckIsBroadcast()
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/kernel/aicpu/aicpu_ops/customize/op_proto/
Dcombined_non_max_suppression_proto.cc161 Shape shape2({batch_dim, output_size}); in IMPLEMT_INFERFUNC() local

123