torch.linspace(start, end, steps=100, out=None) → Tensor. 返回一个1维张量,包含在区间 start 和 ... 但是像flatten、reshape在nn中都没有,所以要自己实现这个类.
確定! 回上一頁