Tensor segmentation method and device, chip and medium
A tensor and molecular technology, which is applied in the field of devices, chips and media, and tensor segmentation method, can solve the problems of increasing hardware cost, high hardware cost, and increasing hardware complexity, so as to reduce the number of configurations and reduce the number of segmentations Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] figure 1 It is a flow chart of a tensor segmentation method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of multi-dimensional tensor segmentation in strides. The method can be divided by the tensor segmentation provided by the embodiment of the present invention. device, which can be implemented in the form of software and / or hardware, and generally can be integrated in a chip.
[0028] like figure 1 As shown, the tensor segmentation method provided in this embodiment is applied to stride segmentation, including:
[0029] S110. Obtain an initial tensor and segmentation parameters.
[0030] The initial tensor can be a one-dimensional tensor, a two-dimensional tensor, or a multidimensional tensor.
[0031] The segmentation parameter refers to the segmentation parameter corresponding to the stride segmentation, which may include the segmentation step size. Among them, when splitting tensors in strides, the splitting ...
Embodiment 2
[0045] figure 2It is a flow chart of a tensor segmentation method provided by Embodiment 2 of the present invention. This embodiment is embodied on the basis of the foregoing embodiments, wherein the data on the dimension to be split can be rearranged according to the initial tensor and the split parameters to obtain the rearranged tensor, specifically:
[0046] Split the dimension to be split into sub-dimensions and step sub-dimensions according to the dimension size and step size of the dimension to be split, and rearrange the data on the dimension to be split according to the split result to obtain a rearrangement tensor .
[0047] Further, the rearranged tensor can be split according to the split parameter to obtain the result tensor, specifically:
[0048] According to the split start index value of the dimension to be split, perform the first split on the rearranged tensor on the step size sub-dimension to obtain a split tensor;
[0049] According to the segmentation...
Embodiment 3
[0094] Figure 5 It is a flow chart of a tensor segmentation method provided by Embodiment 3 of the present invention. This embodiment is embodied on the basis of the foregoing embodiments, wherein the number of dimensions to be split is multiple; after the step of splitting the rearranged tensor according to the split parameter to obtain the result tensor, further includes :
[0095] Judging whether there is a dimension to be split that has not completed the splitting process, if so, return to the step of rearranging the data on the dimension to be split according to the initial tensor and the splitting parameters, for the current splitting process The data on the target dimension to be split is rearranged, wherein the initial tensor when performing split processing for the target dimension to be split is the result tensor obtained when the split processing is completed for the previous dimension to be split; If not, the result tensor obtained when the splitting process is ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



