SimpleMatrix function ( SimpleMatrix arg0 ) { SimpleMatrix loc0 = new SimpleMatrix ( arg0 ) ; for ( int loc1 = 0 ; loc1 < loc0 . numRows ( ) ; ++ loc1 ) { for ( int loc2 = 0 ; loc2 < loc0 . numCols ( ) ; ++ loc2 ) { loc0 . set ( loc1 , loc2 , Math . tanh ( loc0 . get ( loc1 , loc2 ) ) ) ; } } return loc0 ; }
applies tanh to each of the entries in the matrix . returns a new matrix . concode_field_sep PlaceHolder placeHolder concode_field_sep SimpleMatrix concatenate concode_elem_sep SimpleMatrix loadTextMatrix concode_elem_sep SimpleMatrix loadTextMatrix concode_elem_sep double dot concode_elem_sep SimpleMatrix convertTextMatrix concode_elem_sep double[] paramsToVector concode_elem_sep double[] paramsToVector concode_elem_sep SimpleMatrix randomGaussian concode_elem_sep SimpleMatrix softmax concode_elem_sep SimpleMatrix elementwiseApplyTanhDerivative concode_elem_sep double sigmoid concode_elem_sep SimpleMatrix concatenateWithBias concode_elem_sep double cosine concode_elem_sep SimpleMatrix elementwiseApplyLog concode_elem_sep boolean isZero concode_elem_sep String toString concode_elem_sep void vectorToParams