标签: lua torch rnn
每当我采样时,对于给定的温度值,我得到相同的结果。有没有办法配置随机种子或控制输出的其他值?
答案 0 :(得分:0)
尝试在程序开始时调用math.randomseed(os.time())一次。
math.randomseed(os.time())