Searched refs:shape_num (Results 1 – 7 of 7) sorted by relevance
/third_party/mindspore/interfaces/kits/c/ |
D | tensor.h | 62 … size_t shape_num, const void *data, size_t data_len); 118 …I_API void OH_AI_TensorSetShape(OH_AI_TensorHandle tensor, const int64_t *shape, size_t shape_num); 127 OH_AI_API const int64_t *OH_AI_TensorGetShape(const OH_AI_TensorHandle tensor, size_t *shape_num);
|
D | model.h | 57 size_t shape_num; member
|
/third_party/mindspore/test/utils/ |
D | model_utils.cpp | 183 if (shapeInfos.shape_num != 0) { in ModelPredict() 235 if (shapeInfos.shape_num != 0) { in ModelTrain()
|
/third_party/ffmpeg/libavfilter/dnn/ |
D | dnn_backend_openvino.c | 283 for (int i = 0; i < input_shapes.shape_num; i++) in init_model_ov()
|
/third_party/mindspore/patches/ |
D | 0009-npu-zero-copy.patch | 157 …e OH_AI_TensorCreate(const char *name, OH_AI_DataType type, const int64_t *shape, size_t shape_num,
|
D | 0004-cross-compile-ndkso-fp16-nnrt-train_capi.patch | 2975 - size_t shape_num = shapes.size(); 2976 - std::vector<std::vector<int32_t>> inner_shapes(shape_num); 2977 - for (size_t i = 0; i < shape_num; i++) { 3297 … std::vector<int64_t> shape(shape_infos[i].shape, shape_infos[i].shape + shape_infos[i].shape_num); 3692 …e OH_AI_TensorCreate(const char *name, OH_AI_DataType type, const int64_t *shape, size_t shape_num, 3793 std::vector<int64_t> vec_shape(shape_num); 3794 for (size_t i = 0; i < shape_num; i++) { 3802 *shape_num = impl->Shape().size(); 6232 return TensorCategory(tensor.nodeType(), shape_num, TypeId(tensor.dataType()), data_size); 6246 …Category TensorCategory(const int node_type, const size_t shape_num, const TypeId data_type, const… [all …]
|
D | 0005-micro-for-ohos.patch | 11720 size_t shape_num = 0; 11721 - const int64_t *dims = MSTensorGetShape(tensor, &shape_num); 11722 + const int64_t *dims = OH_AI_TensorGetShape(tensor, &shape_num); 11723 for (size_t i = 0; i < shape_num; i++) { 12457 …sorHandle MSTensorCreate(const char *name, MSDataType type, const int64_t *shape, size_t shape_num, 12458 …e OH_AI_TensorCreate(const char *name, OH_AI_DataType type, const int64_t *shape, size_t shape_num, 12464 micro_tensor->shape = malloc(shape_num * sizeof(int64_t)); 12465 memcpy(micro_tensor->shape, shape, shape_num * sizeof(int64_t)); 12522 -void MSTensorSetShape(MSTensorHandle tensor, const int64_t *shape, size_t shape_num) { 12523 +void OH_AI_TensorSetShape(OH_AI_TensorHandle tensor, const int64_t *shape, size_t shape_num) { [all …]
|