import torch.nn as nn | |
from . import register_connector | |
from .base import Connector | |
class IdentityConnector(Connector): | |
def __init__(self, config=None): | |
super().__init__() | |
self._connector = nn.Identity() | |
import torch.nn as nn | |
from . import register_connector | |
from .base import Connector | |
class IdentityConnector(Connector): | |
def __init__(self, config=None): | |
super().__init__() | |
self._connector = nn.Identity() | |