Commit ffa9a327 authored by Olivia Nordquist's avatar Olivia Nordquist Committed by Gunhan Gulsoy
Browse files

fixes _softmax function so that nn.softmax(...) and nn.log_softmax(...) can...

fixes _softmax function so that nn.softmax(...) and nn.log_softmax(...) can accept negative axes that aren't -1 as the documentation claims. _swap() was accepting negative indices when math_ops.range() does not accept negative indices

PiperOrigin-RevId: 181771157
parent 38525351
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment