code: def test_zero_weighted():
      pin_obj = quantiles.PinballLoss()
      y_true = tf.constant([1, 9, 2, -5, -2, 6], shape=(2, 3))
      y_pred = tf.constant(
          [4, 8, 12, 8, 1, 3], shape=(2, 3), dtype=tf.dtypes.float32
      )
      loss = pin_obj(y_true, y_pred, sample_weight=0)
      np.testing.assert_almost_equal(loss, 0.0, 3)
  
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 7 for calling a global function with example usage: test_zero_weighted() without return types