yuehhua.github.io - Dream Maker

machine learning (3353) deep learning (1107) topology (60)

Example domain paragraphs

一般設定 random seed 的方式則像以下的程式碼:

1 2 using Random Random.seed!( 0 ) 所以我們可以得出一個隨機矩陣看起來像是這樣。

1 2 3 4 5 Threads. @threads for i in 1 : 5 Random.seed!( 0 ) tid = Threads.threadid() println(tid, ": " , rand( 5 , 5 )) end 所以每個執行緒內印出來的矩陣就會像這樣。