예제 #1
0
func CorssEntorpy(T, O *Matrix.Matrix) *Matrix.Matrix {
	log := func(x complex128) complex128 { return cmplx.Log(x) }
	return Matrix.DotMultiplication(T, O.Apply(log))

}
예제 #2
0
func DSigmoidLayer(X *Matrix.Matrix) *Matrix.Matrix {
	return X.Apply(DSigmoid)
}