Home
last modified time | relevance | path

Searched defs:keepdim (Results 1 – 23 of 23) sorted by relevance

/third_party/mindspore/mindspore-src/source/tests/st/ops/
Dtest_ops_argmax_ext.py28 def generate_expect_forward_output(x, dim=None, keepdim=False): argument
32 def generate_expect_backward_output(x, dim=None, keepdim=False): argument
37 def argmax_ext_forward_func(x, dim=None, keepdim=False): argument
42 def argmax_ext_backward_func(x, dim=None, keepdim=False): argument
Dtest_func_norm.py25 def construct(self, a, norm_ord=None, dim=None, keepdim=False, dtype=None): argument
Dtest_func_sum.py26 def construct(self, x, dim=None, keepdim=False, dtype=None): argument
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/kernel/opapi/aclnn/
Dnorm_aclnn_kernel.cc45 auto keepdim = transform::ConvertKernelTensor<bool>(inputs[kIndex3]); in GetWorkSpaceInfo() local
54 auto keepdim = transform::ConvertKernelTensor<bool>(inputs[kIndex3]); in Launch() local
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/ops/extend/
Darray_func.py80 def max(input, dim=None, keepdim=False): argument
129 def min(input, dim=None, keepdim=False): argument
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/mint/
D__init__.py312 def any(input, dim=None, keepdim=False): argument
372 def all(input, dim=None, keepdim=False): argument
490 def mean(input, dim=None, keepdim=False, *, dtype=None): argument
579 def prod(input, dim=None, keepdim=False, *, dtype=None): argument
/third_party/mindspore/mindspore-src/source/tests/ut/cpp/ops/
Dtest_ops_argmax_ext.cc31 ValuePtr keepdim; member
44 auto keepdim = param.keepdim->ToAbstract(); in TEST_P() local
/third_party/mindspore/mindspore-src/source/mindspore/core/ops/ops_func_impl/
Dargmax_ext.cc45 auto keepdim = GetScalarValue<bool>(input_args[kInputIndex2]->GetValue()); in InferShape() local
75 const auto &keepdim = GetScalarValue<bool>(input_values[kInputIndex2]); in InferShape() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/cpu/kernel/eigen/
Dnuclear_norm_cpu_kernel.h91 bool keepdim = false; variable
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/kernel/pyboost/customize/
Dargmax_ext.cc29 … const std::optional<Int64ImmPtr> &dim, const BoolImmPtr &keepdim) { in ArgMaxAscendCustomize()
Dnorm.cc32 const BoolImmPtr &keepdim, const std::optional<Int64ImmPtr> &dtype) { in NormAscendCustomize()
/third_party/mindspore/mindspore-src/source/tests/st/tensor/
Dtest_norm.py25 def construct(self, a, norm_ord=None, dim=None, keepdim=False, dtype=None): argument
/third_party/mindspore/mindspore-src/source/mindspore/core/ops/
Dnuclear_norm.cc73 auto keepdim = GetValue<bool>(primitive->GetAttr("keepdim")); in NuclearNormInferShape() local
Dquantile.cc155 void Quantile::set_keepdim(bool keepdim) { (void)AddAttr(kKeepdim, api::MakeValue(keepdim)); } in set_keepdim()
Dmedian.cc107 bool keepdim = GetValue<bool>(check_keepdim); in MedianInferShape() local
Dop_utils.cc448 auto keepdim = GetValue<bool>(input_args[2]->GetValue()); in ReduceExtInferShape() local
/third_party/mindspore/mindspore-src/source/config/
Dsuper_bar_config.json175 "keepdim": "keep_dims" string
251 "keepdim": "keep_dims" string
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/ops/function/
Dmath_func.py7011 def norm(A, ord=None, dim=None, keepdim=False, *, dtype=None): argument
7279 def norm_ext(A, ord=None, dim=None, keepdim=False, *, dtype=None): argument
10087 def sum(input, dim=None, keepdim=False, *, dtype=None): argument
Darray_func.py5366 def argmax(input, dim=None, keepdim=False): argument
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/ops/operations/
Dnn_ops.py9187 def __init__(self, dim=None, keepdim=False): argument
/third_party/mindspore/mindspore-src/source/tests/ut/python/ops/
Dtest_ops.py1493 def __init__(self, dim=None, keepdim=False): argument
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/_extends/parse/
Dstandard_method.py3344 def norm(A, ord=None, dim=None, keepdim=False, *, dtype=None): argument
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/common/
Dtensor.py1688 def norm(self, ord=None, dim=None, keepdim=False, *, dtype=None): argument