chores
(cleanup)
This commit is contained in:
parent
17b9e6c46f
commit
f2fd373edf
|
@ -163,7 +163,6 @@ func (k kaimingUniformInit) InitTensor(dims []int64, device gotch.Device) (retVa
|
|||
}
|
||||
|
||||
bound := math.Sqrt(1.0 / float64(fanIn))
|
||||
log.Println(fanIn)
|
||||
kind := gotch.Float
|
||||
retVal = ts.MustZeros(dims, kind, device)
|
||||
retVal.Uniform_(-bound, bound)
|
||||
|
|
Loading…
Reference in New Issue
Block a user