class_docstr: Module name mapping for transparent layer_stack.
class_docstr_tok: ["Module","name","mapping","for","transparent","layer_stack","."]
docstr: Creates flat module name from stacked name and index during scan.
docstr_tok: ["Creates","flat","module","name","from","stacked","name","and","index","during","scan","."]
code: def stacked_to_flat(
      self, stacked_module_name: str, scan_idx: int
  ) -> str:
      """Creates flat module name from stacked name and index during scan."""
      ...
  
imports: import collections
  import functools
  import inspect
  from typing import Any, Callable, Optional, Protocol, Union
  from haiku._src import base
  from haiku._src import lift
  from haiku._src import module
  from haiku._src import transform
  import jax
  import jax.numpy
label_desc: Use image node_id 1 for calling the LayerStackTransparencyMapping obj's underlying member method code with example usage: obj.stacked_to_flat(stacked_module_name, scan_idx) without return types