1.torch.manual_seed(seed). 設定生成隨機數的種子,並返回一個torch._C.Generator對象. 參數:seed(int or long)種子. 2.torch.initial_seed().
確定! 回上一頁