class_docstr: Learned constant layer for StyleGAN.
  
  This layer implements the learned constant that is used in "A Style-Based
  Generator Architecture for Generative Adversarial Networks".
  https://arxiv.org/pdf/1812.04948.pdf
class_docstr_tok: ["Learned","constant","layer","for","StyleGAN",".","This","layer","implements","the","learned","constant","that","is","used","in","``","A","Style-Based","Generator","Architecture","for","Generative","Adversarial","Networks","''",".","https",":","\/\/arxiv.org\/pdf\/1812.04948.pdf"]
docstr: Returns the constant tiled along the batch axis to match inputs.
docstr_tok: ["Returns","the","constant","tiled","along","the","batch","axis","to","match","inputs","."]
code: def call(self, inputs: tf.Tensor) -> tf.Tensor:
      """Returns the constant tiled along the batch axis to match inputs."""
      batch_size = tf.shape(inputs)[0]
      return tf.tile(
          self._learned_constant[tf.newaxis, ...],
          multiples=(batch_size, 1, 1, 1),
      )
  
imports: import math
  from typing import Any, Callable, Dict, Optional, Sequence, Tuple, Union, List
  import numpy
  import tensorflow
label_desc: Use image node_id 3 for calling the LearnedConstant obj's underlying member method code with example usage: obj.call(inputs) and returns: tf