realbook/layers/signal.py [388:404]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    def __init__(
        self,
        name: Optional[str] = None,
        dtype: tf.dtypes.DType = tf.float32,
        *args: Any,
        **kwargs: Any,
    ):
        """
        A Tensorflow Keras layer that calculates the magnitude of a complex tensor.

        Args:
            name: Name of the layer.
            dtype: Type used in calculation.
        """
        super().__init__(name=name, dtype=dtype, *args, **kwargs)

    def call(self, inputs: tf.Tensor) -> tf.Tensor:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



realbook/layers/signal.py [413:429]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    def __init__(
        self,
        name: Optional[str] = None,
        dtype: tf.dtypes.DType = tf.float32,
        *args: Any,
        **kwargs: Any,
    ):
        """
        A Tensorflow Keras layer that calculates the phase of a complex tensor.

        Args:
            name: Name of the layer.
            dtype: Type used in calculation.
        """
        super().__init__(name=name, dtype=dtype, *args, **kwargs)

    def call(self, inputs: tf.Tensor) -> tf.Tensor:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



