Source code for narla.neurons.network

from __future__ import annotations

import abc
import copy
import torch


[docs]class Network(torch.nn.Module, metaclass=abc.ABCMeta): def __init__(self): super().__init__()
[docs] @abc.abstractmethod def forward(self, X: torch.Tensor) -> torch.Tensor: pass