def test_cross_entropy_multi_derivative(backend_default):
    outputs = np.array([0.5, 1.0, 0.0, 0.0001]).reshape((4, 1))
    targets = np.array(([0.5, 0.0, 1.0, 0.2])).reshape((4, 1))
    expected_result = (outputs.shape[1] / (outputs - targets))
    compare_tensors(CrossEntropyMulti(), outputs, targets, expected_result,
                    deriv=True, tol=1e-6)
dataset/ETHPy150Open NervanaSystems/neon/tests/test_costs.py/test_cross_entropy_multi_derivative/swapped operands of `/`