Home
last modified time | relevance | path

Searched defs:scale_shape (Results 1 – 22 of 22) sorted by relevance

/third_party/mindspore/mindspore-src/source/mindspore/core/ops/ops_func_impl/
Ddynamic_quant_ext.cc31 ShapeVector scale_shape = {abstract::Shape::kShapeRankAny}; in InferShape() local
40 ShapeVector scale_shape(input_shape_vector.begin(), input_shape_vector.end() - 1); in InferShape() local
Dbatch_norm.cc56 … const ShapeVector &x_shape, const ShapeVector &scale_shape, const ShapeVector &bias_shape, in BatchNormShapeCheck()
111 auto scale_shape = input_args[kInputIndex1]->GetShape()->GetShapeVector(); in InferShape() local
Dbatch_norm_grad_grad.cc34 auto scale_shape = input_args[kInputIndex2]->GetShape()->Clone(); in InferShape() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/test/ut/src/runtime/kernel/arm/fp32/
Dscale_fp32_tests.cc66 …id TestScaleFp32::Prepare(const std::vector<int> &input_shape, const std::vector<int> &scale_shape, in Prepare()
105 std::vector<int> scale_shape{3}; in TEST_F() local
127 std::vector<int> scale_shape{3}; in TEST_F() local
148 std::vector<int> scale_shape{3}; in TEST_F() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/test/ut/src/runtime/kernel/arm/int8/
Dscale_int8.cc65 …:Prepare(const std::vector<int> &in_shape, int8_t *input_data, const std::vector<int> &scale_shape, in Prepare()
113 std::vector<int> scale_shape = {2, 2, 1}; in TEST_F() local
139 std::vector<int> scale_shape = {2, 2, 1}; in TEST_F() local
165 std::vector<int> scale_shape = {2, 2, 1}; in TEST_F() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/kernel/opencl/kernel/
Dscale.cc53 auto scale_shape = scale_tensor->shape(); in CheckSpecs() local
131 GpuTensorInfo scale_shape = GpuTensorInfo(scale_tensor); in InitWeights() local
170 auto scale_shape = scale_tensor->shape(); in Prepare() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/micro/coder/opcoders/nnacl/fp32/
Dscale_fp32_coder.cc47 std::vector<int> scale_shape = scale_tensor->shape(); in CalculateParameter() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/optimizer/fusion/
Dmul_add_fusion.cc139 auto scale_shape = scale_tensor_->shape_c(); in AdjustScaleBiasTensorShape() local
185 auto scale_shape = scale_tensor_->shape_c(); in ScaleInputShapeValid() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/micro/coder/opcoders/nnacl/fp16/
Dscale_dynamic_fp16_coder.cc109 std::vector<std::string> scale_shape; in CalculateParameter() local
/third_party/mindspore/mindspore-src/source/mindspore/core/ops/
Dbn_infer.cc39 …auto scale_shape = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[kInputIndex1]->GetSh… in InferShape() local
Dbn_training_update.cc65 const auto &scale_shape = shapes[kInputIndex3]; in BNTrainingUpdateCheckShapes() local
Dsync_batch_norm.cc110 auto scale_shape = CheckAndConvertUtils::ConvertShapePtrToShapeMap(scale_shape_ptr)[kShape]; in SyncBatchNormInferShape() local
Dscale_and_translate.cc56 …auto scale_shape = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[kInputIndex2]->GetSh… in ScaleAndTranslateInferShape() local
/third_party/mindspore/mindspore-src/source/tests/ut/cpp/ops/
Dtest_ops_dynamic_quant_ext.cc34 ShapeVector scale_shape; member
Dtest_ops_batchnorm.cc40 ShapeVector scale_shape; member
Dtest_ops_batchnorm_grad.cc41 ShapeVector scale_shape; member
Dtest_ops_batch_norm_grad_grad.cc41 ShapeVector scale_shape; member
/third_party/mindspore/mindspore-src/source/mindspore/core/ops/grad/
Dscale_and_translate_grad.cc51 …auto scale_shape = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[kInputIndex2]->GetSh… in ScaleAndTranslateGradInferShape() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/gpu/kernel/nn/
Dbatch_norm_grad_grad_gpu_kernel.cc54 auto scale_shape = inputs[kIndex2]->GetShapeVector(); in Resize() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/delegate/npu/op/
Dscale_npu.cc162 auto scale_shape = in_tensors.at(SCALE_INDEX).Shape(); in ConvertScaleToMul() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/kernel/aicpu/aicpu_ops/customize/op_proto/
Dnn_norm_ops_proto.cc313 ge::Shape scale_shape = op.GetInputDescByName("scale").GetShape(); in CUST_IMPLEMT_INFERFUNC() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/cpu/kernel/
Dbatch_norm_grad_grad_cpu_kernel.cc52 std::vector<int64_t> scale_shape = inputs.at(kIndex2)->GetShapeVector(); in Resize() local