docstr: Tests a custom variable initializer.
docstr_tok: ["Tests","a","custom","variable","initializer","."]
code: def test_feature_steered_convolution_layer_initializer(self):
      """Tests a custom variable initializer."""
      data = np.array(
          ((1.0, 1.0), (-1.0, 1.0), (-1.0, -1.0), (1.0, -1.0))
      )
      neighbors_indices = np.array(
          (
              (0, 0),
              (0, 1),
              (0, 3),
              (1, 0),
              (1, 1),
              (1, 2),
              (2, 1),
              (2, 2),
              (2, 3),
              (3, 0),
              (3, 2),
              (3, 3),
          )
      )
      neighbors = tf.SparseTensor(
          neighbors_indices,
          np.ones(shape=(12,)) / 3.0,
          dense_shape=(4, 4),
      )
      initializer = tf.compat.v1.keras.initializers.zeros()
  
      if tf.executing_eagerly():
          layer = gc_layer.FeatureSteeredConvolutionKerasLayer(
              translation_invariant=False, initializer=initializer
          )
          output = layer(inputs=[data, neighbors], sizes=None)
      else:
          out = gc_layer.feature_steered_convolution_layer(
              data=data,
              neighbors=neighbors,
              sizes=None,
              translation_invariant=False,
              initializer=initializer,
          )
          self.evaluate(tf.compat.v1.global_variables_initializer())
          output = self.evaluate(out)
  
      # All zeros initializer should result in all zeros output.
      self.assertAllEqual(output, np.zeros_like(data))
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  import numpy
  from six.moves import range
  from six.moves import zip
  import tensorflow
  import tensorflow_graphics.nn.layer.graph_convolution
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 2 for calling the GraphConvolutionTestFeatureSteeredConvolutionLayerTests obj's underlying member method code with example usage: obj.test_feature_steered_convolution_layer_initializer() without return types