/third_party/skia/src/pathops/ |
D | SkReduceOrder.cpp | 17 static int coincident_line(const SkDQuad& quad, SkDQuad& reduction) { in coincident_line() 22 static int reductionLineCount(const SkDQuad& reduction) { in reductionLineCount() 26 static int vertical_line(const SkDQuad& quad, SkDQuad& reduction) { in vertical_line() 32 static int horizontal_line(const SkDQuad& quad, SkDQuad& reduction) { in horizontal_line() 39 int minX, int maxX, int minY, int maxY, SkDQuad& reduction) { in check_linear() 103 static int coincident_line(const SkDCubic& cubic, SkDCubic& reduction) { in coincident_line() 108 static int reductionLineCount(const SkDCubic& reduction) { in reductionLineCount() 112 static int vertical_line(const SkDCubic& cubic, SkDCubic& reduction) { in vertical_line() 118 static int horizontal_line(const SkDCubic& cubic, SkDCubic& reduction) { in horizontal_line() 125 static int check_quadratic(const SkDCubic& cubic, SkDCubic& reduction) { in check_quadratic() [all …]
|
/third_party/flutter/skia/src/pathops/ |
D | SkReduceOrder.cpp | 17 static int coincident_line(const SkDQuad& quad, SkDQuad& reduction) { in coincident_line() 22 static int reductionLineCount(const SkDQuad& reduction) { in reductionLineCount() 26 static int vertical_line(const SkDQuad& quad, SkDQuad& reduction) { in vertical_line() 32 static int horizontal_line(const SkDQuad& quad, SkDQuad& reduction) { in horizontal_line() 39 int minX, int maxX, int minY, int maxY, SkDQuad& reduction) { in check_linear() 103 static int coincident_line(const SkDCubic& cubic, SkDCubic& reduction) { in coincident_line() 108 static int reductionLineCount(const SkDCubic& reduction) { in reductionLineCount() 112 static int vertical_line(const SkDCubic& cubic, SkDCubic& reduction) { in vertical_line() 118 static int horizontal_line(const SkDCubic& cubic, SkDCubic& reduction) { in horizontal_line() 125 static int check_quadratic(const SkDCubic& cubic, SkDCubic& reduction) { in check_quadratic() [all …]
|
/third_party/mindspore/tests/st/ops/gpu/ |
D | test_nll_loss.py | 27 def __init__(self, reduction): argument 36 def __init__(self, reduction): argument 45 def nll_loss_template(nptype_input, nptype_weight, reduction): argument 86 def nll_loss_grad_template(nptype_input, nptype_weight, reduction): argument
|
D | test_loss.py | 26 def __init__(self, reduction='mean', weights=1.0): argument 76 def __init__(self, reduction='mean'): argument
|
D | test_bce_with_logits_loss.py | 27 def __init__(self, reduction): argument
|
D | test_kl_div_op.py | 29 def __init__(self, reduction="none"): argument
|
/third_party/mindspore/mindspore/core/ops/ |
D | binary_cross_entropy.cc | 45 auto reduction = Reduction(GetValue<int64_t>(primitive->GetAttr(kReduction))); in BinaryCrossEntroyInferShape() local 73 void BinaryCrossEntropy::set_reduction(const Reduction &reduction) { in set_reduction() 82 void BinaryCrossEntropy::Init(const Reduction &reduction) { this->set_reduction(reduction); } in Init()
|
D | soft_margin_loss.cc | 36 int64_t reduction; in SoftMarginLossInferShape() local
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/ |
D | loss_with_reduction_impl.cu | 30 __global__ void Copy(T *loss, T *tmp_loss, int reduction, int input_size) { in Copy() 111 void Reduce(T *tmp_loss, const int &size, S *denom, const int &reduction, T *output, cudaStream_t s… in Reduce() 137 __global__ void KLDivLossKernel(const int input_size, const int reduction, const T *input_x, const … in KLDivLossKernel() 156 void KLDivLoss(const int &input_size, const int &reduction, const T *input_x, const T *input_y, T *… in KLDivLoss() 176 __global__ void KLDivLossGradKernel(const int input_size, const int reduction, const T *input_x, co… in KLDivLossGradKernel() 200 void KLDivLossGrad(const int &input_size, const int &reduction, const T *input_x, const T *input_y,… in KLDivLossGrad() 207 __global__ void BinaryCrossEntropyLossKernel(const int input_size, const int reduction, const T *in… in BinaryCrossEntropyLossKernel() 237 void BinaryCrossEntropyLoss(const int &input_size, const int &reduction, const T *input_x, const T … in BinaryCrossEntropyLoss() 257 __global__ void BinaryCrossEntropyLossGradKernel(const int input_size, const int reduction, const T… in BinaryCrossEntropyLossGradKernel() 297 void BinaryCrossEntropyLossGrad(const int &input_size, const int &reduction, const T *input_x, cons… in BinaryCrossEntropyLossGrad() [all …]
|
/third_party/mindspore/mindspore/nn/loss/ |
D | loss.py | 49 def __init__(self, reduction='mean'): argument 111 def __init__(self, reduction='mean'): argument 187 def __init__(self, reduction='mean'): argument 373 def __init__(self, reduction='mean'): argument 489 def __init__(self, reduction='mean'): argument 562 reduction='none'): argument 810 reduction='none'): argument 1040 def __init__(self, weight=None, reduction='none'): argument 1112 def __init__(self, margin=0.0, reduction="mean"): argument 1204 def __init__(self, reduction='mean', weight=None, pos_weight=None): argument [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32_grad/ |
D | binary_cross_entropy.c | 20 static void BinaryCrossEntropyLossKernel(const int input_size, const int reduction, const float *in… in BinaryCrossEntropyLossKernel() 38 void BinaryCrossEntropy(const int input_size, const int reduction, const float *input_x, const floa… in BinaryCrossEntropy()
|
D | binary_cross_entropy_grad.h | 23 int reduction; member
|
D | binary_cross_entropy.h | 23 int reduction; member
|
D | binary_cross_entropy_grad.c | 21 int BinaryCrossEntropyGrad(const int input_size, const int reduction, const float *input_x, const f… in BinaryCrossEntropyGrad()
|
/third_party/mindspore/mindspore/core/ops/grad/ |
D | binary_cross_entropy_grad.cc | 54 void BinaryCrossEntropyGrad::Init(const Reduction &reduction) { set_reduction(reduction); } in Init() 56 void BinaryCrossEntropyGrad::set_reduction(const Reduction &reduction) { in set_reduction()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/ |
D | binary_cross_entropy_cpu_kernel.cc | 27 void BinaryCrossEntropyCpuKernel::LaunchToScalar(const int &input_size, const int &reduction, T *lo… in LaunchToScalar() 120 const std::string reduction = AnfAlgo::GetNodeAttr<string>(kernel_node, REDUCTION); in InitKernel() local
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/infer/ |
D | binary_cross_entropy_infer.c | 30 int reduction = param->reduction; in BinaryCrossEntropyInferShape() local
|
/third_party/mindspore/tests/ut/python/metrics/ |
D | test_cosine_similarity.py | 41 def sklearn_cosine_similarity(test_data, similarity, reduction): argument
|
/third_party/mindspore/tests/st/networks/models/resnet50/src/ |
D | CrossEntropySmooth.py | 26 def __init__(self, sparse=True, reduction='mean', smooth_factor=0., num_classes=1000): argument
|
/third_party/mindspore/mindspore/nn/metrics/ |
D | cosine_similarity.py | 51 def __init__(self, similarity='cosine', reduction='none', zero_diagonal=True): argument
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | SamplerD3D12.cpp | 72 D3D12_FILTER_REDUCTION_TYPE reduction = in Sampler() local
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/gpu/ |
D | bce_with_logits_loss_fusion.cc | 45 string reduction = AnfAlgo::GetNodeAttr<std::string>(node, kAttrReduction); in AddReduceNode() local
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fission/ |
D | bce_with_logits_loss_fission.cc | 47 string reduction = AnfAlgo::GetNodeAttr<std::string>(node, kAttrReduction); in AddReduceNode() local
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/nn/ |
D | kl_div_loss_grad_kernel.h | 63 string reduction = GetAttr<string>(kernel_node, "reduction"); in Init() local
|
D | kl_div_loss_gpu_kernel.h | 62 string reduction = GetAttr<string>(kernel_node, "reduction"); in Init() local
|