code: def test_config():
      pin_obj = quantiles.PinballLoss(
          reduction=tf.keras.losses.Reduction.SUM, name="pin_1"
      )
      assert pin_obj.name == "pin_1"
      assert pin_obj.reduction == tf.keras.losses.Reduction.SUM
  
file_path: addons/tensorflow_addons/losses/tests/quantiles_test.py
imports: import pytest
  import numpy
  import tensorflow
  from tensorflow_addons.losses import quantiles
label_desc: Use image node_id 1 for calling a global function with example usage: test_config() without return types