neuralib.util.deprecation.deprecated_func

neuralib.util.deprecation.deprecated_func(*, new=None, remarks=None, removal_version=None)[source]

Mark deprecated functions.

Parameters:
  • new (str | None) – The renamed new usage

  • remarks (str | None) – The reason why the function is deprecated

  • removal_version (str | None) – Optional version or date when the function is planned to be removed