code: def _conv_class_factory(name, rank):
      """Subclass from _SignalConv, fixing convolution rank."""
      clsdict = {
          "_rank": rank,
          "__doc__": _SignalConv.__doc__.format(rank=rank),
      }
      cls = type(name, (_SignalConv,), clsdict)
      return tf.keras.utils.register_keras_serializable(
          package="tensorflow_compression"
      )(cls)
  
imports: from typing import Any, Callable, Dict, NoReturn, Optional, Tuple, Union
  import tensorflow
  from tensorflow_compression.python.layers import parameters
  from tensorflow_compression.python.ops import padding_ops
label_desc: Use image node_id 4 for calling a global function with example usage: _conv_class_factory(name, rank) and returns: tf