Weighted defeasible knowledge bases and a multipreference semantics for a deep neural network model