Home
last modified time | relevance | path

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

12

/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/opencl/
Dmatmul_tests.cc40 std::vector<int> weight_shape = {co, ci}; variable
60 std::vector<int> weight_shape = {a, b, co, ci}; variable
80 std::vector<int> weight_shape = {a, co, ci}; variable
100 std::vector<int> weight_shape = {a, co, ci}; in TEST_F() local
120 std::vector<int> weight_shape = {a, ci, co}; in TEST_F() local
Dfullconnection_tests.cc25 OpParameter *CreateParameter(std::vector<int> *input_shape, std::vector<int> *weight_shape, in CreateParameter()
64 std::vector<int> input_shape, weight_shape, bias_shape, output_shape; variable
86 std::vector<int> input_shape, weight_shape, bias_shape, output_shape; variable
109 std::vector<int> input_shape, weight_shape, bias_shape, output_shape; variable
132 std::vector<int> input_shape, weight_shape, bias_shape, output_shape; variable
Dscale_tests.cc36 std::vector<int> weight_shape = {input_shape[axis]}; in TEST_F() local
54 std::vector<int> weight_shape = {input_shape[axis]}; in TEST_F() local
72 std::vector<int> weight_shape = {input_shape[axis]}; in TEST_F() local
Dconv2d_transpose_tests.cc26 std::vector<int> *input_shape, std::vector<int> *weight_shape, in CreateParameter()
68 std::vector<int> input_shape, weight_shape, bias_shape, output_shape; in TEST_F() local
96 std::vector<int> input_shape, weight_shape, bias_shape, output_shape; in TEST_F() local
124 std::vector<int> input_shape, weight_shape, bias_shape, output_shape; in TEST_F() local
152 std::vector<int> input_shape, weight_shape, bias_shape, output_shape; in TEST_F() local
183 std::vector<int> input_shape, weight_shape, bias_shape, output_shape; in TEST_F() local
213 std::vector<int> input_shape, weight_shape, bias_shape, output_shape; in TEST_F() local
Dbatchnorm_tests.cc34 std::vector<int> weight_shape = {1, 1, 1, 8}; in TEST_F() local
64 std::vector<int> weight_shape = {1, 1, 1, 7}; in TEST_F() local
Ddepthwise_conv2d_tests.cc62 std::vector<int> weight_shape = {1, kernel_h, kernel_w, output_shape.back()}; in TEST_F() local
108 std::vector<int> weight_shape = {1, kernel_h, kernel_w, output_shape.back()}; in TEST_F() local
155 std::vector<int> weight_shape = {1, kernel_h, kernel_w, output_shape.back()}; in TEST_F() local
199 std::vector<int> weight_shape = {1, kernel_h, kernel_w, output_shape.back()}; in TEST_F() local
Dconv2d_tests.cc44 …std::vector<int> weight_shape = {param->output_channel_, param->kernel_h_, param->kernel_w_, param… in TestMain_Conv2D() local
57 std::vector<int> input_shape, weight_shape, bias_shape, output_shape; in TEST_F() local
/third_party/mindspore/mindspore/lite/tools/converter/parser/tflite/
Dtflite_conv_parser.cc65 auto weight_shape = weight_tensor->shape; in Parse() local
122 auto weight_shape = weight_tensor->shape; in Parse() local
Dtflite_conv_transpose_parser.cc60 auto weight_shape = weight_tensor->shape; in Parse() local
/third_party/mindspore/mindspore/lite/tools/optimizer/parallel/
Dsplit_strategy.cc27 const std::vector<int64_t> &weight_shape) { in ApproximateFLOPs()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/nn/
Dprelu_gpu_kernel.h67 auto weight_shape = AnfAlgo::GetInputDeviceShape(kernel_node, 1); in Init() local
Dprelu_grad_gpu_kernel.h70 auto weight_shape = AnfAlgo::GetInputDeviceShape(kernel_node, 2); in Init() local
Dbce_with_logits_loss_kernel.h47 size_t *weight_shape = GetDeviceAddress<size_t>(workspace, 1); in Launch() local
/third_party/mindspore/mindspore/core/ops/
Dlerp.cc41 auto weight_shape = weight_shape_map[kShape]; in InferShape() local
Dbinary_cross_entropy.cc39 …auto weight_shape = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[kInputIndex2]->Buil… in BinaryCrossEntroyInferShape() local
/third_party/mindspore/mindspore/lite/tools/converter/parser/onnx/
Donnx_conv_transpose_parser.cc95 std::vector<int> weight_shape; in Parse() local
Donnx_conv_parser.cc39 std::vector<int> weight_shape; in GetConvChannel() local
/third_party/mindspore/mindspore/core/ops/grad/
Dbinary_cross_entropy_grad.cc32 …auto weight_shape = CheckAndConvertUtils::ConvertShapePtrToShapeMap(input_args[kInputIndex2]->Buil… in BinaryCrossEntroyGradInferShape() local
/third_party/mindspore/mindspore/lite/tools/optimizer/graph/
Dgroup_depthwise_op_convert_pass.cc79 auto weight_shape = weight_shape_ptr->shape(); in Run() local
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/int8/
Dmatmul_int8_tests.cc104 std::vector<int> weight_shape{1, 3, 8}; in TEST_F() local
215 std::vector<int> weight_shape{1, 17, 10}; in TEST_F() local
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/kernel/
Dprelu.cc134 cl_int4 weight_shape = {}; in Prepare() local
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/fl/
Dget_model_kernel.h125 auto weight_shape = AnfAlgo::GetPrevNodeOutputInferShape(kernel_node, i); in Init() local
Dfused_push_weight_kernel.h117 auto weight_shape = AnfAlgo::GetPrevNodeOutputInferShape(kernel_node, i); in Init() local
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/mkldnn/
Dconv2d_grad_filter_cpu_kernel.cc37 std::vector<size_t> weight_shape = AnfAlgo::GetOutputDeviceShape(kernel_node, 0); in InitKernel() local
/third_party/mindspore/mindspore/lite/tools/converter/parser/
Dparser_utils.cc254 ShapeVector weight_shape; in UnifyVariableConvWeight() local
360 auto weight_shape = weight_value->shape(); in HandleConstConvWeightShared() local

12