如果对代码进行向量化,由于您正在将这些值当作字节进行处理,这意味着每条指令都要一次操作16 个值!
If you vectorize this code, since you are treating the values as bytes, that means that each instruction will operate on 16 values at once!
请记住:删除分支的目的在于对代码进行向量化。
Remember that the point of removing the branch was so that you can vectorize the code.
对向量处理过程最明显的优化是对代码进行向量化。
The most obvious optimization to make on a vector process is to vectorize the code.
因此,至少从目前的代码使用方式来说,尚不能进行向量化。
Therefore, at least the way the code presently stands, it cannot be vectorized.
问题是为了对代码进行向量化,代码必须要对所有向量元素都按照相同的指令集执行。
The problem was that in order to vectorize the code, the code must follow the same set of instructions for each member of the vector.
目前该小组正在规划在人类身上进行向量免疫预防的试验。
对于矩阵来说,MEAN (X)是包含了每列平均值的行向量。
For matrices, mean (X) is a row vector containing the mean value of each column.
对所有字节进行向量比较,查看它们是否在'a '到'z '的范围之内。
Do a vector comparison of all bytes to see if they are between 'a' and 'z'.
求出使最优解或最优基保持最优的消耗系数矩阵中列向量和行向量的可变范围。
The variable ranges of vectors in consumption coefficient matrix for which the optimal solution or optimal basis remain invariable are determined.
文章利用矩阵的行向量组和列向量组的极大无关组刻画了矩阵半群中的格林关系。
In this paper, we described the green relations on matrix semigroup through the vector maximal independent subset of matrix.
然后,对所建立关联矩阵的列向量或行向量进行相似性度量,获得相似客户群体或相关页面。
Then, similar customer groups or relevant Web pages were obtained by measuring the similarity between column vectors or between row vectors of the associated matrix.
该方法以构造负荷点供电“最小路馈线段行向量”的方法,方便地求得带子馈线、备用电源的复杂配电网络的可靠性指标。
With the new method, a minimal path feeder vector can be constructed to produce reliability indexes of a complex distribution system with sub feeders and alternative suppliers.
通过沿时间轴对采样信号加窗的方式构造向量集合,利用余弦相似度进行向量间亲合度的匹配计算,实现在实数域进行匹配计算的实数值负向选择算法。
The matching affinity between two vectors was measured using cosine similarity to develop a real-valued negative selection algorithm with the matching calculation in the real domain.
通过沿时间轴对采样信号加窗的方式构造向量集合,利用余弦相似度进行向量间亲合度的匹配计算,实现在实数域进行匹配计算的实数值负向选择算法。
The matching affinity between two vectors was measured using cosine similarity to develop a real-valued negative selection algorithm with the matching calculation in the real domain.
应用推荐