public static int TestLayer <T>(string layerType, ParamDict pd, ModelBin mb, Option opt, Mat a, float epsilon = 0.001f) where T : Layer, new() { return(TestLayer <T>(Ncnn.LayerToIndex(layerType), pd, mb, opt, a, epsilon)); }