Shortcuts

Function c10::Warning::warn(const SourceLocation&, const std::string&, bool)

Function Documentation

void c10::Warning::warn(const SourceLocation &source_location, const std::string &msg, bool verbatim)

Issue a warning with a given message.

Dispatched to the current warning handler.

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources