code: def test_stash_pop_together_different_names():
      @skippable(stash=["foo"])
      class Layer1(nn.Module):
          pass
  
      @skippable(pop=["foo"], stash=["bar"])
      class Layer2(nn.Module):
          pass
  
      @skippable(pop=["bar"])
      class Layer3(nn.Module):
          pass
  
      verify_skippables(nn.Sequential(Layer1(), Layer2(), Layer3()))
  
file_path: fairscale/tests/nn/pipe/skip/test_verify_skippables.py
imports: import pytest
  from torch import nn
  from fairscale.nn.pipe.skip import Namespace, skippable, verify_skippables
label_desc: Use image node_id 6 for calling a global function with example usage: test_stash_pop_together_different_names() without return types