class_docstr: Abstract base class for creating plugins that wrap layers of a model with synchronization logic for
  multiprocessing.
docstr: Override this method to apply synchronization to the layers of this model.
docstr_tok: ["Override","this","method","to","apply","synchronization","to","the","layers","of","this","model","."]
code: def apply(self, model: Module) -> Module:
      """Override this method to apply synchronization to the layers of this model."""
  
file_path: pytorch-lightning/src/lightning/pytorch/plugins/layer_sync.py
imports: from abc import ABC, abstractmethod
  import torch
  from torch import Tensor
  from torch.nn import Module
  from typing_extensions import override
label_desc: Use image node_id 1 for calling the LayerSync obj's underlying member method code with example usage: obj.apply(model) without return types