Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore-src/source/mindspore/core/ops/ops_func_impl/
Dnllloss_grad.cc32 void CheckNLLLossGradShapeValid(const PrimitivePtr &primitive, const ShapeVector &logits_shape, in CheckNLLLossGradShapeValid()
65 auto logits_shape = logits_shape_ptr->GetShapeVector(); in InferShape() local
Dnllloss.cc31 void CheckNLLLossShapeValid(const PrimitivePtr &primitive, const ShapeVector &logits_shape, in CheckNLLLossShapeValid()
64 auto logits_shape = logits_shape_ptr->GetShapeVector(); in InferShape() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/gpu/kernel/nn/
Dsparse_softmax_cross_entropy_with_logits_gpu_kernel.h97 auto logits_shape = inputs[kIndex0]->GetShapeVector(); in Resize() local
136 void InferInputOutputSize(const ShapeVector &logits_shape, const ShapeVector &labels_shape) { in InferInputOutputSize()
161 void CheckShapeValidation(const ShapeVector &logits_shape, const ShapeVector &labels_shape) { in CheckShapeValidation()
Dsoftmax_cross_entropy_with_logits_gpu_kernel.h64 int CheckShapeValidation(const ShapeVector &logits_shape, const ShapeVector &labels_shape) { in CheckShapeValidation()
Dnll_loss_gpu_kernel.cc47 auto logits_shape = inputs[kIndex0]->GetShapeVector(); in Resize() local
Dsoftmax_cross_entropy_with_logits_gpu_kernel.cc45 auto logits_shape = inputs[kIndex0]->GetShapeVector(); in Resize() local
Dnll_loss_grad_gpu_kernel.cc51 auto logits_shape = inputs[kIndex0]->GetShapeVector(); in Resize() local
/third_party/mindspore/mindspore-src/source/tests/st/ops/ascend/
Dtest_sparseSoftmaxCrossEntropyWithLogits.py36 def np_sparse_softmax_cross_entropy_with_logits(labels_shape, logits_shape, logits_dtype): argument
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/kernel/cpu/fp32_grad/
Dnllloss_grad.cc50 const auto logits_shape = in_tensors_[kLogitsIndex]->shape(); in Prepare() local
/third_party/mindspore/mindspore-src/source/mindspore/core/ops/
Dsigmoid_cross_entropy_with_logits.cc47 auto logits_shape = input_args[0]->GetShape(); in InferShape() local
Dsoftmax_cross_entropy_with_logits.cc39 auto logits_shape = input_args[0]->GetShape(); in InferShape() local
Drandom_categorical.cc73 auto logits_shape = logits_shape_map[kShape]; in RandomCategoricalInferShape() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/cpu/kernel/
Dnllloss_grad_cpu_kernel.cc54 auto logits_shape = inputs[0]->GetShapeVector(); in Resize() local
Dnllloss_cpu_kernel.cc54 auto logits_shape = inputs[kIndex0]->GetShapeVector(); in Resize() local
Dsparse_softmax_cross_entropy_with_logits_cpu_kernel.cc47 auto logits_shape = inputs[0]->GetDeviceShapeVector(); in Resize() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/gpu/kernel/random/
Drandom_categorical_gpu_kernel.h125 auto logits_shape = inputs[0]->GetShapeVector(); in Resize() local
/third_party/mindspore/mindspore-src/source/tests/ut/cpp/ops/
Dtest_ops_nllloss.cc37 ShapeVector logits_shape; member
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/optimizer/mindir/
Dsparse_softmax_cross_entropy_with_logits_unify_mindir.cc104 auto logits_shape = common::AnfAlgo::GetPrevNodeOutputInferShape(sparse_softmax_node, 0UL); in GetDepthAndBatchSizeFromSparseSoftmaxNode() local
650 auto logits_shape = common::AnfAlgo::GetPrevNodeOutputInferShape(sparse_softmax_node, 0UL); in Process() local
693 auto logits_shape = common::AnfAlgo::GetPrevNodeOutputInferShape(sparse_softmax_node, 0UL); in Process() local
781 auto logits_shape = common::AnfAlgo::GetPrevNodeOutputInferShape(sparse_softmax_node, 0UL); in Process() local
845 auto logits_shape = common::AnfAlgo::GetPrevNodeOutputInferShape(sparse_softmax_node, 0UL); in Process() local
/third_party/mindspore/mindspore-src/source/tests/ut/cpp/python_input/gtest_input/pipeline/infer/
Dprimitive_test.py53 def infer_shape(self, logits_shape, label_shape): argument
/third_party/mindspore/mindspore-src/source/mindspore/lite/test/ut/src/runtime/kernel/arm/fp32/
Dnllloss_fp32_test.cc36 std::vector<int> logits_shape = {3, 5}; in NLLLossInitArgs() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/kernel/aicpu/aicpu_ops/customize/op_proto/
Drandom_ops_proto.cc273 ge::Shape logits_shape = logits_desc.GetShape(); in IMPLEMT_COMMON_INFERFUNC() local
308 ge::Shape logits_shape = logits_desc.GetShape(); in IMPLEMT_COMMON_INFERFUNC() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/test/ut/src/runtime/kernel/arm/fp32_grad/
Dnllloss_grad_fp32_test.cc37 std::vector<int> logits_shape = {3, 5}; in NLLLossGradInitArgs() local
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/nn/loss/
Dloss.py792 def _check_dice_shape(logits_shape, label_shape, prim_name=None): argument
871 def _check_shape(logits_shape, label_shape, prim_name=None): argument
2332 def _check_cross_entropy_inputs(logits_shape, label_shape, argument
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/pipeline/pynative/grad/ir/
Dir_pass.cc182 auto logits_shape = common::AnfAlgo::GetPrevNodeOutputInferShape(sparse_softmax_node, kIndex0); in Run() local
215 auto logits_shape = common::AnfAlgo::GetPrevNodeOutputInferShape(sparse_softmax_node, kIndex0); in GetDepthAndBatchSizeFromSparseSoftmaxNode() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/pipeline/pynative/grad/function/
Dfunc_pass.cc97 auto logits_shape = BaseShapeToShape(inputs[kIndex0]->GetShape()); in GetDepthAndBatchSizeFromSparseSoftmaxNode() local