mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Differential Revision: [D77459912](https://our.internmc.facebook.com/intern/diff/D77459912) Pull Request resolved: https://github.com/pytorch/pytorch/pull/156761 Approved by: https://github.com/angelayi
16 lines
507 B
C++
16 lines
507 B
C++
#pragma once
|
|
|
|
namespace torch::_export {
|
|
|
|
/// Register example upgraders for the upgrader system for testing.
|
|
/// This function demonstrates common upgrade patterns and is primarily
|
|
/// used for testing and demonstration purposes.
|
|
void registerExampleUpgraders();
|
|
|
|
/// Deregister example upgraders for the upgrader system for testing.
|
|
/// This function cleans up the example upgraders that were registered
|
|
/// by registerExampleUpgraders().
|
|
void deregisterExampleUpgraders();
|
|
|
|
} // namespace torch::_export
|