public String getNodeName(String name) {
        //tensorflow adds colons to the end of variables representing input index, this strips those off
        String ret = name;
        if(ret.startsWith("^"))
            ret = ret.substring(1);
        if(ret.endsWith("/read")) {
            ret = ret.replace("/read","");
        }
        return ret;
    }
public String getNodeName(String name) {
        
        String ret = name;
        if(ret.startsWith("^"))
            ret = ret.substring(1);
        if(ret.endsWith("/read")) {
            ret = ret.replace("/read","");
        }
        return ret;
    }
public String getNodeName ( String name ) { //tensorflow adds colons to the end of variables representing input index, this strips those off String ret = name ; if ( ret . startsWith ( "^" ) ) ret = ret . substring ( 1 ) ; if ( ret . endsWith ( "/read" ) ) { ret = ret . replace ( "/read" , "" ) ; } return ret ; }
Map a tensorflow node name
to the samediff equivalent
for import
@param name the name to change
@return the input tensorflow name
Map a tensorflow node name to the samediff equivalent for import