mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
Add FX based FeatureGraphNet capability
This commit is contained in:
parent
0149ec30d7
commit
cf4561ca72
@ -486,4 +486,4 @@ class FeatureGraphNet(nn.Module):
|
||||
self.graph_module = build_feature_graph_net(model, return_nodes)
|
||||
|
||||
def forward(self, x):
|
||||
return list(self.graph_module(x).values())
|
||||
return list(self.graph_module(x).values())
|
||||
|
Loading…
x
Reference in New Issue
Block a user