Home
last modified time | relevance | path

Searched defs:sparse_shape (Results 1 – 18 of 18) sorted by relevance

/third_party/mindspore/mindspore-src/source/tests/st/ops/cpu/
Dtest_sparse_to_dense_op.py35 def construct(self, indices, values, sparse_shape): argument
46 def construct(self, indices, values, sparse_shape, sense): argument
Dtest_sparse_addmm_op.py31 def construct(self, indices, values, sparse_shape, x2_dense, x3_dense, argument
/third_party/mindspore/mindspore-src/source/mindspore/core/ops/
Dcsr_elementwise.cc59 ShapeVector sparse_shape = ConvertToShapeVector(shape); in CSRElementWiseInfer() local
Dcsr_gather.cc50 auto sparse_shape = abstract::CheckArg<AbstractTuple>(op_name, input_args, kIndexThree); in CSRGatherInfer() local
Dcsr_reducesum.cc63 ShapeVector sparse_shape = ConvertToShapeVector(shape); in CSRReduceSumInfer() local
Dcsr_mm.cc61 ShapeVector sparse_shape = ConvertToShapeVector(shape); in CSRMMInfer() local
Dcsr_mv.cc60 ShapeVector sparse_shape = ConvertToShapeVector(shape); in CSRMVInfer() local
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/nn/sparse/
Dsparse.py146 def construct(self, indices, values, sparse_shape, dense): argument
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/cpu/kernel/
Dsparse_dense_cwise_mul_cpu_kernel.cc69 std::vector<int64_t> sparse_shape(dimension); in ComputeMul() local
159 std::vector<int64_t> sparse_shape(dimension); in SparseDenseCwiseMulBcastCompute() local
Dsparse_dense_cwise_div_cpu_kernel.cc71 std::vector<int64_t> sparse_shape(dimension); in ComputeDiv() local
175 std::vector<int64_t> sparse_shape(dimension); in SparseDenseCwiseDivBcastCompute() local
Dsparse_dense_cwise_add_cpu_kernel.cc69 std::vector<int64_t> sparse_shape(dimension); in ComputeAdd() local
159 std::vector<int64_t> sparse_shape(dimension); in SparseDenseCwiseAddBcastCompute() local
/third_party/mindspore/mindspore-src/source/tests/st/ops/gpu/
Dtest_sparse_tensor_dense_matmul_op.py39 def construct(self, indices, values, sparse_shape, dense): argument
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/kernel/aicpu/aicpu_ops/cpu_kernel/ms_kernel/
Dsparse_dense_cwise_utils.cc277 std::vector<int64_t> sparse_shape(dimension); in SparseDenseCwiseOpBcastCompute() local
409 std::vector<int64_t> sparse_shape(dimension); in ComputeOp() local
443 std::vector<int64_t> sparse_shape(dimension); in ComputeOpComplex() local
646 std::vector<int64_t> sparse_shape(dimension); in SparseDenseCwiseOpBcastComputeComplex() local
Dsetsize.cc108 auto sparse_shape = set_shape_->GetTensorShape(); in SparseTensorFromContext() local
Dsparse_addmm.cc115 auto sparse_shape = shape_tensor->GetTensorShape(); in SparseAddmmCheck() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/gpu/kernel/sparse/
Dsparse_dense_cwise_operation_gpu_kernel.cc186 std::vector<int64_t> sparse_shape(dimension_); in LaunchKernel() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/kernel/aicpu/aicpu_ops/customize/op_proto/utils/
Dcommon_shape_fns.cc763 Shape sparse_shape = shape.GetShape(); in ValidateSparseTensor() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/pipeline/jit/ps/static_analysis/
Dprim.cc853 AbstractBasePtrList sparse_shape = arg->shape()->elements(); in ConvertAbstractToPython() local
868 AbstractBasePtrList sparse_shape = arg->shape()->elements(); in ConvertAbstractToPython() local