Torch is a scientific computing framework based on Lua with CPU and GPU backends ... x[1] = 0.5; x[2] = 0.5; print(mlp:forward(x)) -- 0 XOR 0 = 0 (negative).
確定! 回上一頁