{"library":"pytorch-revgrad","type":"library","category":null,"description":"pytorch-revgrad is a minimalist PyTorch package that provides a gradient reversal layer (GRL) as both a module and a function. This layer is commonly used in domain adaptation techniques, such as Domain-Adversarial Neural Networks (DANN), to encourage feature extractors to learn domain-invariant representations by reversing the gradient signal for a subsequent domain classifier. The current version, `0.2.0`, was released in January 2021, and the library maintains a low release cadence, indicating stability for its core functionality.","language":"python","status":"maintenance","version":"0.2.0","tags":["pytorch","gradient-reversal","domain-adaptation","machine-learning","adversarial-learning"],"install":[{"cmd":"pip install pytorch-revgrad","imports":["from pytorch_revgrad import RevGrad"]}],"homepage":null,"github":"https://github.com/janfreyberg/pytorch-revgrad","docs":null,"changelog":null,"pypi":"https://pypi.org/project/pytorch-revgrad/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":40,"avg_install_s":67.8,"avg_import_s":6.12,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/pytorch-revgrad/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":null}}