code: def owned_params(module: ModuleDetails) -> Mapping[str, ArraySpec]:
      out = {}
      for fq_name, param in module.params.items():
          module_name, param_name = fq_name.rsplit("/", 1)
          if module_name == module.module.module_name:
              out[param_name] = param
      return out
  
imports: from collections.abc import Mapping, Sequence
  import dataclasses
  import functools
  import pprint
  from typing import Any, Callable, Optional, TypeVar, Union
  from haiku._src import base
  from haiku._src import data_structures
  from haiku._src import module
  from haiku._src import transform
  from haiku._src import utils
  import jax
  import jax.numpy
  import numpy
  import tabulate
label_desc: Use image node_id 6 for calling a global function with example usage: owned_params(module) and returns: out