快捷方式

cat

class tensordict.cat(input, dim=0, *, out=None)

沿給定維度將 tensordict 串聯成單個 tensordict。

此呼叫等同於呼叫 torch.cat(),但與 torch.compile 相容。

文件

訪問全面的 PyTorch 開發者文件

檢視文件

教程

獲取針對初學者和高階開發者的深入教程

檢視教程

資源

查詢開發資源並獲得問題解答

檢視資源