Numpy or pytroch squeeze

Yes I get that part , however my question was, under what conditions would one use this.