如何获取HybridSequential中指定的某一层呢?


#1
(2): Lin(
  (lin): HybridSequential(
    (0): Conv2D(None -> 256, kernel_size=(1, 1), stride=(1, 1))
    (1): BatchNorm(axis=1, eps=1e-05, momentum=0.9, fix_gamma=False, use_global_stats=False, in_channels=None)
    (2): Activation(relu)
  )
)
(3): Conv2D(None -> 16, kernel_size=(1, 1), stride=(1, 1))
(4): Conv2D(None -> 256, kernel_size=(1, 1), stride=(1, 1))

比如我想根据前缀获取(lin(0))该怎么操作呢