Files
reconstruction/models/depth_estim.py
T
2022-12-09 23:11:15 +00:00

18 lines
322 B
Python

import os
import sys
import torch
import torch.nn as nn
class DepthEstimation(nn.Module):
def __init__(self):
super().__init__()
self.layer_1 = nn.Linear(in_features=3, out_features=3)
def forward(self, x: torch.Tensor) -> torch.Tensor:
x = self.layer_1(x)
return x