0
我試圖解決這個問題很長一段時間,仍然不能拿出解決方案,也許有人可以幫我解決這個問題。我有以下AAABBB輸入表到神經網絡:將張量表的AAABBB錶轉換爲火炬中張量的嵌套ABABAB表
{
1 :
{
1 : DoubleTensor - size: 32x200
2 : DoubleTensor - size: 32x200
3 : DoubleTensor - size: 32x200
}
2 :
{
1 : DoubleTensor - size: 32x54
2 : DoubleTensor - size: 32x54
3 : DoubleTensor - size: 32x54
}
}
上表被預處理,然後需要被轉化爲嵌套ABABAB輸入表:
{
1 :
{
1 : DoubleTensor - size: 32x200
2 : DoubleTensor - size: 32x54
}
2 :
{
1 : DoubleTensor - size: 32x200
2 : DoubleTensor - size: 32x54
}
3 :
{
1 : DoubleTensor - size: 32x200
2 : DoubleTensor - size: 32x54
}
}
如何我可以將AAABBB表格更改爲ABABAB嵌套表內網絡使用Torch table layers?