ptrblck:

It’s currently just a warning that you are using deprecated arguments, so you should definitely use reduction instead of reduce or size_average .


@ptrblck the docs still say size_average is required  in order to use ignore_index in F.cross_entropy. It’s not clear how size_average is replaced by reduction in this case. How are we meant to use ignore_index?