code: def forward(self, init_features: Tensor) -> Tensor:
      features = [init_features]
      for name, layer in self.items():
          new_features = layer(features)
          features.append(new_features)
      return torch.cat(features, 1)
  
file_path: ARKitScenes/depth_upsampling/models/mspf/blocks/dense_net.py
imports: from typing import List
  import torch
  import torch.nn.functional
  from torch import nn, Tensor
label_desc: Use image node_id 2 for calling the _DenseBlock obj's underlying member method code with example usage: obj.forward(init_features) and returns: torch