No. You can reasonably take an action against someone that is the same degree of involvement they attempt to do to you. By someone stabbing you, or attempting to, they consent to the same degree of violence against them, by having taken direct action against you.
This is not the same as, for example, someone fleeing from attackers, and knocking on your door, thus potentially drawing the attention of the attackers to you. Of course, you're free to deny the attackers or the victim entry.