Home
last modified time | relevance | path

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

12

/third_party/mindspore/mindspore-src/source/mindspore/lite/test/ut/nnacl/infer/
Dreshape_infer_test.cc61 std::vector<int32_t> shape_tensor = {6}; in TEST_F() local
93 std::vector<int8_t> shape_tensor = {6}; in TEST_F() local
125 std::vector<uint32_t> shape_tensor = {6}; in TEST_F() local
156 std::vector<float> shape_tensor = {3.0, 4.0}; in TEST_F() local
188 std::vector<int64_t> shape_tensor = {3, 4}; in TEST_F() local
222 std::vector<int64_t> shape_tensor = {3, 6}; in TEST_F() local
256 std::vector<int64_t> shape_tensor = {3, -1}; in TEST_F() local
289 std::vector<int64_t> shape_tensor = {1, 2, 5, 4}; in TEST_F() local
324 std::vector<int64_t> shape_tensor = {8, 5, -1, 1}; in TEST_F() local
Dresize_infer_test.cc69 std::vector<int32_t> shape_tensor = {4, 3, 2, 5}; in TEST_F() local
108 std::vector<float> shape_tensor = {4.0, 3.0, 2.0, 5.0}; in TEST_F() local
147 std::vector<int32_t> shape_tensor = {4, 3, 2, 5}; in TEST_F() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/kernel/aicpu/aicpu_ops/customize/op_proto/
Dfft_shapecopy_proto.cc27 Tensor shape_tensor; in IMPLEMT_COMMON_INFERFUNC() local
Drandom_ops_proto.cc41 Tensor shape_tensor; in IMPLEMT_COMMON_INFERFUNC() local
347 Tensor shape_tensor; in CUST_IMPLEMT_INFERFUNC() local
402 Tensor shape_tensor; in CUST_IMPLEMT_INFERFUNC() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/delegate/coreml/op/
Dreshape_coreml.cc26 auto shape_tensor = in_tensors_.at(1); in BuildLayer() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/kernel/aicpu/aicpu_ops/cpu_kernel/ms_kernel/
Dsparse_reorder.cc68 Tensor *shape_tensor = ctx.Input(2); in ValidParam() local
160 Tensor *shape_tensor = ctx.Input(2); in Compute() local
Dfft_shapecopy.cc72 auto shape_tensor = reinterpret_cast<int64_t *>(ctx.Input(kFftShapeIndex)->GetData()); in FFTShapeCopyCompute() local
Dsparse_addmm.cc94 Tensor *shape_tensor = ctx.Input(2); in SparseAddmmCheck() local
282 auto *shape_tensor = ctx.Input(2); in SparseAddmmCompute() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/infer/
Dcrop_and_resize_infer.c54 const TensorC *shape_tensor = inputs[3]; in CropAndResizeInferShape() local
Dreshape_infer.c104 const TensorC *shape_tensor = inputs[1]; in CalShapeByType() local
204 const TensorC *shape_tensor = inputs[1]; in ReshapeInferShape() local
Dbroadcast_to_infer.c21 int GetShapeByType(const TensorC *shape_tensor, int shape_size, int *dst_shape) { in GetShapeByType()
172 const TensorC *shape_tensor = inputs[1]; in BroadcastToInferShape() local
Dresize_infer.c26 const TensorC *shape_tensor = inputs[1]; in HandleTwoInputs() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/parser/tflite/
Dtflite_split_parser.cc39 const auto &shape_tensor = tflite_subgraph->tensors.at(tflite_op->inputs.at(SECOND_INPUT)); in Parse() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/parser/
Dunify_format.cc233 int SetTensorInfoData(const tensor::Tensor *shape_tensor, tensor::TensorPtr tensor_info) { in SetTensorInfoData()
244 int SetShapeTensorInfo(const tensor::Tensor *shape_tensor, tensor::TensorPtr tensor_info) { in SetShapeTensorInfo()
268 auto shape_tensor = std::dynamic_pointer_cast<tensor::Tensor>(resize_shape_node->default_param()); in ConvertOnnxResizeForConstShape() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/delegate/tensorrt/op/
Doneslike_tensorrt.cc70 auto shape_tensor = ctx->network()->addShape(*input_trt_tensor)->getOutput(0); in RunAsTrtOps() local
Dshuffle_tensorrt.cc276 auto &shape_tensor = in_tensors_[1]; in AddReshapeOp() local
332 auto shape_tensor = input(ctx_, 1).trt_tensor_; in AddBroadcastToOp() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/kernel/opencl/kernel/
Dreshape.cc126 auto shape_tensor = in_tensors_[1]; in PreProcess() local
Dresize.cc153 auto shape_tensor = in_tensors_[1]; in PreProcess() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/delegate/npu/op/
Dreshape_npu.cc27 auto shape_tensor = in_tensors.at(1); in IsSupport() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/kernel/aicpu/aicpu_ops/
Duniform_real_kernels.cc79 aicpuops::Tensor shape_tensor = node_def_.inputs(0); in ParseKernelParam() local
Dstandard_normal_kernels.cc79 aicpuops::Tensor shape_tensor = node_def_.inputs(0); in ParseKernelParam() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/optimizer/ge/
Davg_pool_grad_for_ge.cc53 …auto shape_tensor = std::make_shared<tensor::Tensor>(value_node_data, TypeIdToType(TypeId::kNumber… in Process() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/pass/format_pass/
Dtranspose_strategy.cc199 const lite::Tensor &shape_tensor) { in Handle2AxisCrop()
227 const lite::Tensor &shape_tensor) { in Handle3AxisCrop()
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/optimizer/fusion/
Dadjust_resize_dims_pass.cc308 auto shape_tensor = std::dynamic_pointer_cast<tensor::Tensor>(resize_shape_node->default_param()); in CreateResizeCNodeFor3D() local
401 auto shape_tensor = std::dynamic_pointer_cast<tensor::Tensor>(resize_shape_node->default_param()); in GetResizeInputDims() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/frontend/parallel/ops_info/
Dfillv2_info.cc165 Shape FillV2Info::GetShapeFromTensor(const tensor::TensorPtr &shape_tensor) { in GetShapeFromTensor()

12