class_docstr: Compute the magnitude of the complex input, resulting in a float tensor
  
  Example:
      ::
  
          input_shape = (2048, 1)  # mono signal
          model = Sequential()
          model.add(kapre.STFT(n_fft=1024, hop_length=512, input_shape=input_shape))
          mode.add(Magnitude())
          # now the shape is (batch, n_frame=3, n_freq=513, ch=1) and dtype is float
class_docstr_tok: ["Compute","the","magnitude","of","the","complex","input",",","resulting","in","a","float","tensor","Example",":",":",":","input_shape","=","(","2048",",","1",")","#","mono","signal","model","=","Sequential","(",")","model.add","(","kapre.STFT","(","n_fft=1024",",","hop_length=512",",","input_shape=input_shape",")",")","mode.add","(","Magnitude","(",")",")","#","now","the","shape","is","(","batch",",","n_frame=3",",","n_freq=513",",","ch=1",")","and","dtype","is","float"]
docstr: Args:
      x (complex `Tensor`): input complex tensor
  
  Returns:
      (float `Tensor`): magnitude of `x`
docstr_tok: ["Args",":","x","(","complex","`","Tensor","`",")",":","input","complex","tensor","Returns",":","(","float","`","Tensor","`",")",":","magnitude","of","`","x","`"]
code: def call(self, x):
      """
      Args:
          x (complex `Tensor`): input complex tensor
  
      Returns:
          (float `Tensor`): magnitude of `x`
      """
      return tf.abs(x)
  
imports: import tensorflow
  from tensorflow.keras import backend
  from tensorflow.keras.layers import Layer
  from .None import backend
  from .backend import _CH_FIRST_STR, _CH_LAST_STR, _CH_DEFAULT_STR
  from .tflite_compatible_stft import atan2_tflite
label_desc: Use image node_id 1 for calling the Magnitude obj's underlying member method code with example usage: obj.call(x) and returns: tf