release code

This commit is contained in:
2026-10-12 22:35:10 +08:00
commit c1e3081dfd
291 changed files with 60190 additions and 0 deletions
@@ -0,0 +1,17 @@
import torch.nn as nn
class Backbone(nn.Module):
def __init__(self):
super().__init__()
def forward(self):
pass
@property
def out_features(self):
"""Output feature dimension."""
if self.__dict__.get("_out_features") is None:
return None
return self._out_features