code: def __init__(
      self,
      dilation_rate,
      nb_filters,
      kernel_size=1,
      strides=1,
      padding="casual",
      dropout_rate=0.0,
      repo_initialization=True,
  ):
      super(TemporalBlock, self).__init__()
      if repo_initialization:
          init = tf.keras.initializers.RandomNormal(
              mean=0.0, stddev=0.01
          )
      else:
          init = tf.keras.initializers.HeUniform()
  
      self.dilation_rate = dilation_rate
      self.nb_filters = nb_filters
      self.kernel_size = kernel_size
      self.strides = strides
      self.padding = padding
      self.dropout_rate = dropout_rate
      self.repo_initialization = repo_initialization
  
      # block1
      self.conv1 = Conv1D(
          filters=nb_filters,
          kernel_size=kernel_size,
          strides=strides,
          dilation_rate=dilation_rate,
          padding=padding,
          kernel_initializer=init,
      )
      self.batch1 = BatchNormalization(axis=-1)
      self.ac1 = Activation("relu")
      self.drop1 = Dropout(rate=dropout_rate)
  
      # block2
      self.conv2 = Conv1D(
          filters=nb_filters,
          kernel_size=kernel_size,
          strides=strides,
          dilation_rate=dilation_rate,
          padding=padding,
          kernel_initializer=init,
      )
      self.batch2 = BatchNormalization(axis=-1)
      self.ac2 = Activation("relu")
      self.drop2 = Dropout(rate=dropout_rate)
  
      self.downsample = Conv1D(
          filters=nb_filters,
          kernel_size=1,
          padding="same",
          kernel_initializer=init,
      )
      self.ac3 = Activation("relu")
  
file_path: BigDL/python/chronos/src/bigdl/chronos/model/tf2/TCN_keras.py
imports: from tokenize import group
  import numpy
  import tensorflow
  from bigdl.nano.tf.keras import Model
  from tensorflow.keras.layers import Conv1D, BatchNormalization, Activation, Dropout, Input, Layer
  from bigdl.chronos.model.tf2.keras_model_wrapper import NormalizeTSModel
label_desc: Use image node_id 1 to create a new TemporalBlock object from inherited base classes: Layer with example: obj = TemporalBlock(dilation_rate, nb_filters, kernel_size, strides, padding, dropout_rate, repo_initialization)