This repository has been archived on 2025-12-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
2025ML-project-neural_compr.../models/autoencoder.py
2025-12-09 21:07:43 +01:00

18 lines
397 B
Python

import torch
import torch.nn as nn
class Encoder(nn.Module):
def __init__(self, input_size, hidden_size, output_size):
super(Encoder, self).__init__()
def forward(self, x: torch.Tensor) -> torch.Tensor:
pass
class Decoder(nn.Module):
def __init__(self):
super(Decoder, self).__init__()
def forward(self, x: torch.Tensor) -> torch.Tensor:
pass