Home
last modified time | relevance | path

Searched defs:diagonal (Results 1 – 25 of 30) sorted by relevance

12

/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/gpu/kernel/cuda_impl/cuda_ops/
Dtril_triu_impl.cu25 __global__ void Tril(const size_t size, const T *input, const int diagonal, const int64_t matrix_ro… in Tril()
37 __global__ void Triu(const size_t size, const T *input, const int diagonal, const int64_t matrix_ro… in Triu()
49 __global__ void Triu(const size_t size, const Complex<float> *input, const int diagonal, const int6… in Triu()
64 __global__ void Triu(const size_t size, const Complex<double> *input, const int diagonal, const int… in Triu()
79 cudaError_t CalTril(const size_t size, const T *input, const int diagonal, const int64_t matrix_row, in CalTril()
87 cudaError_t CalTriu(const size_t size, const T *input, const int diagonal, const int64_t matrix_row, in CalTriu()
/third_party/mindspore/mindspore-src/source/tests/st/ops/
Dtest_tril_triu_op.py28 def __init__(self, nptype, diagonal): argument
41 def __init__(self, diagonal=0): argument
51 def __init__(self, diagonal=0): argument
61 def __init__(self, nptype, diagonal): argument
72 def tril_triu(nptype, diagonal): argument
84 def tril_triu_pynative(nptype, diagonal): argument
Dtest_func_tril.py24 def construct(self, x, diagonal=0): argument
/third_party/mindspore/mindspore-src/source/tests/ut/cpp/ops/
Dtest_ops_triu.cc34 ValuePtr diagonal; member
44 auto diagonal = param.diagonal->ToAbstract(); in TEST_P() local
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/scipy/
Dops_wrapper.py23 def matrix_set_diag(input_x, diagonal, k=0, alignment="RIGHT_LEFT"): argument
/third_party/mindspore/mindspore-src/source/mindspore/core/ops/
Dtril.cc64 void Tril::Init(const int64_t diagonal) { set_diagonal(diagonal); } in Init()
66 void Tril::set_diagonal(const int64_t diagonal) { (void)this->AddAttr(kDiagonal, api::MakeValue(dia… in set_diagonal()
/third_party/mindspore/mindspore-src/source/tests/st/ops/dynamic_shape/grad/
Dtest_matrix_set_diag_v3.py30 def construct(self, x, diagonal, k): argument
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/adapter/acl/mapper/
Dtriu_mapper.cc72 auto diagonal = diagonal_data[0]; in Mapper() local
/third_party/mindspore/mindspore-src/source/tests/st/ops/gpu/
Dtest_matrix_set_diag_v3_op.py31 def construct(self, x, diagonal, k): argument
Dtest_svd_op.py37 def matrix_diag(diagonal, shape): argument
Dtest_matrix_diag_v3_op.py48 def benchmark(diagonal, expect, align="RIGHT_LEFT", k=None, num_rows=None, num_cols=None, padding_v… argument
/third_party/mindspore/mindspore-src/source/tests/st/tensor/
Dtest_tril.py23 def construct(self, x, diagonal=0): argument
/third_party/mindspore/mindspore-src/source/tests/st/ops/cpu/
Dtest_svd_op.py37 def matrix_diag(diagonal, shape): argument
Dtest_matrix_diag_v3_op.py35 def benchmark(diagonal, expect, align="RIGHT_LEFT", k=None, num_rows=None, num_cols=None, padding_v… argument
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/kernel/aicpu/aicpu_ops/cpu_kernel/ms_kernel/
Dtril.cc73 AttrValue *diagonal = ctx.GetAttr("diagonal"); in ValidParam() local
/third_party/skia/m133/bench/
DShapesBench.cpp108 float diagonal = sqrtf(static_cast<float>(fShapesSize.width() * fShapesSize.width()) + in clampShapeSize() local
/third_party/skia/bench/
DShapesBench.cpp106 float diagonal = sqrtf(static_cast<float>(fShapesSize.width() * fShapesSize.width()) + in clampShapeSize() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/include/common/expander/core/
Demitter.h170 …NodePtr MatrixSetDiagV3(const NodePtr &x, const NodePtr &diagonal, const NodePtr &k, const ValuePt… in MatrixSetDiagV3()
175 …NodePtr MatrixDiagPartV3(const NodePtr &x, const NodePtr &diagonal, const NodePtr &k, const ValueP… in MatrixDiagPartV3()
/third_party/mesa3d/src/vulkan/runtime/bvh/
Dvk_build_helpers.h265 vec3 diagonal = aabb.max - aabb.min; in aabb_surface_area() local
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/nn/layer/
Dbasic.py1378 def construct(self, input_x, diagonal): argument
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/ops/_grad_experimental/
Dgrad_array_ops.py258 def bprop(x, diagonal, k, out, dout): argument
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/numpy/
Darray_creations.py1324 def diagonal(a, offset=0, axis1=0, axis2=1): function
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/ops/function/
Darray_func.py3874 def matrix_set_diag(x, diagonal, k=0, align="RIGHT_LEFT"): # pylint: disable=redefined-outer-name argument
4916 def tril(input, diagonal=0): # pylint: disable=redefined-outer-name argument
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/_extends/parse/
Dstandard_method.py366 def tril(x, diagonal=0): argument
1383 def diagonal(x, offset=0, axis1=0, axis2=1): function
3423 def triu(input, diagonal=0): argument
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/common/
Dtensor.py1317 def triu(self, diagonal=0): argument
2154 def tril(self, diagonal=0): argument
2951 def diagonal(self, offset=0, axis1=0, axis2=1): member in Tensor

12