AT&T Inc (T.N) on Tuesday posted a quarterly net loss that was slightly slimmer than Wall Street expected, as its mobile device deals attracted more customers, but its users switched to other networks at a higher rate. AT&T shares rose about 2 percent in after-hours trading after closing at $32.81 on the New York Stock Exchange. Excluding items, AT&T earned 55 cents per share, beating analysts’ forecasts by a penny.