code: def map_only(__type_or_types: Type[T]) -> MapOnlyFn[Fn[T, Any]]:
      ...
  
imports: import functools
  import warnings
  from typing import Any, Callable, Iterable, List, Optional, overload, Tuple, Type, TypeVar, Union
  import torch
  import optree
  from optree import PyTreeSpec
label_desc: Use image node_id 13 for calling a global function with example usage: map_only(__type_or_types) without return types