class_docstr: Remove audio generated from padding frames.
class_docstr_tok: ["Remove","audio","generated","from","padding","frames","."]
code: def get_signal(self, audio: tf.Tensor) -> tf.Tensor:
      half_pad_amount = int(self.frame_size // 2)  # Symmetric even.
      pad_amount = 2 * half_pad_amount
      if self.crop_location == "front":
          return audio[:, pad_amount:]
      elif self.crop_location == "center":
          return audio[:, half_pad_amount:-half_pad_amount]
      elif self.crop_location == "back":
          return audio[:, :-pad_amount]
      else:
          raise ValueError(
              f"Crop_location: ({self.crop_location}), must be "
              '"front", "center", or "back".'
          )
  
imports: from typing import Dict, Text
  from ddsp import core
  from ddsp import dags
  import gin
  import tensorflow
label_desc: Use image node_id 3 for calling the Crop obj's underlying member method code with example usage: obj.get_signal(audio) and returns: audio, audio, audio