Source code for espnet.transform.transform_interface
# TODO(karita): add this to all the transform impl.
[docs]class TransformInterface:
"""Transform Interface"""
def __call__(self, x):
raise NotImplementedError("__call__ method is not implemented")
def __repr__(self):
return self.__class__.__name__ + "()"