使用一个简单的fully-connected NN来训练一个Xor Gate。 ... using namespace torch::indexing; ... fc1 = register_module("fc1", torch::nn::Linear(2, 16));.
確定! 回上一頁