首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
cumprod专题
torch.cumprod实现累乘计算
cumprod取自“cumulative product”的缩写,即“累计乘法”。 数学公式为: y i = x 1 × x 2 × x 3 × . . . × x i y_i=x_1\times{x_2}\times{x_3}\times{...}\times{x_i} yi=x1×x2×x3×...×xi 官方链接:torch.cumprod 用法: import torch
阅读更多...