Home
last modified time | relevance | path

Searched refs:ele_count (Results 1 – 4 of 4) sorted by relevance

/third_party/libffi/src/aarch64/
Dffi.c154 size_t size, ele_count; in is_vfp_type() local
165 ele_count = 1; in is_vfp_type()
174 ele_count = 2; in is_vfp_type()
205 ele_count = size / sizeof(float); in is_vfp_type()
206 if (size != ele_count * sizeof(float)) in is_vfp_type()
210 ele_count = size / sizeof(double); in is_vfp_type()
211 if (size != ele_count * sizeof(double)) in is_vfp_type()
215 ele_count = size / sizeof(long double); in is_vfp_type()
216 if (size != ele_count * sizeof(long double)) in is_vfp_type()
222 if (ele_count > 4) in is_vfp_type()
[all …]
/third_party/libffi/src/arm/
Dffi.c712 size_t size, ele_count; in vfp_type_p() local
722 ele_count = 1; in vfp_type_p()
728 ele_count = 2; in vfp_type_p()
757 ele_count = size / sizeof(float); in vfp_type_p()
758 if (size != ele_count * sizeof(float)) in vfp_type_p()
762 ele_count = size / sizeof(double); in vfp_type_p()
763 if (size != ele_count * sizeof(double)) in vfp_type_p()
769 if (ele_count > 4) in vfp_type_p()
787 return (ele_count << 8) | candidate; in vfp_type_p()
/third_party/mindspore/mindspore/parallel/
D_tensor.py292 ele_count = int(len(tensor_slices_new) / tensor_strategy[dim_len - 1 - i])
294 for j in range(ele_count):
/third_party/mindspore/mindspore/train/
Dserialization.py1159 ele_count = int(len(tensor_slices_new) / tensor_strategy[dim_len - 1 - i])
1161 for j in range(ele_count):