Пример #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)
}