SimpleMatrix function ( SimpleMatrix arg0 ) { SimpleMatrix loc0 = new SimpleMatrix ( arg0 . numRows ( ) , arg0 . numCols ( ) ) ; loc0 . set ( 1.0 ) ; loc0 = loc0 . minus ( arg0 . elementMult ( arg0 ) ) ; return loc0 ; }
applies the derivative of tanh to each of the elements in the vector . returns a new matrix . concode_field_sep PlaceHolder placeHolder concode_field_sep SimpleMatrix oneHot concode_elem_sep SimpleMatrix concatenate concode_elem_sep SimpleMatrix loadTextMatrix concode_elem_sep SimpleMatrix loadTextMatrix concode_elem_sep double dot concode_elem_sep SimpleMatrix elementwiseApplyReLU 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 elementwiseApplyTanh concode_elem_sep List<SimpleMatrix> loadTextMatrices 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