tilelang.utils.deprecated¶
Functions¶
|
A function to indicate that a method is deprecated |
|
A decorator to indicate that a method is deprecated |
Module Contents¶
- tilelang.utils.deprecated.deprecated_warning(method_name, new_method_name, phaseout_version=None)¶
A function to indicate that a method is deprecated
- Parameters:
method_name (str)
new_method_name (str)
phaseout_version (str)
- tilelang.utils.deprecated.deprecated(method_name, new_method_name, phaseout_version=None)¶
A decorator to indicate that a method is deprecated
- Parameters:
method_name (str) – The name of the method to deprecate
new_method_name (str) – The name of the new method to use instead
phaseout_version (str) – The version to phase out the method