tilelang.utils.deprecated

Functions

deprecated_warning(method_name, new_method_name[, ...])

A function to indicate that a method is deprecated

deprecated(method_name, new_method_name[, ...])

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

参数:
  • 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

参数:
  • 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