One node per op. Slot t_index_ is T; slot 1 - t_index_ is the 0-d operand S, whose gradient is reduced in float32 (and cast back to s_dtype_ when S is float64 on the CPU).
One node per op. Slot t_index_ is T; slot 1 - t_index_ is the 0-d operand S, whose gradient is reduced in float32 (and cast back to s_dtype_ when S is float64 on the CPU).