code: def householder(input_dim, count_transforms=None):
      """
      A helper function to create a
      :class:`~pyro.distributions.transforms.Householder` object for consistency with
      other helpers.
  
      :param input_dim: Dimension of input variable
      :type input_dim: int
      :param count_transforms: number of applications of Householder transformation to
          apply.
      :type count_transforms: int
  
      """
  
      if count_transforms is None:
          count_transforms = input_dim // 2 + 1
      return Householder(input_dim, count_transforms=count_transforms)
  
imports: import math
  import warnings
  from functools import partial
  import torch
  import torch.nn
  from torch.distributions import Transform, constraints
  from pyro.nn import DenseNN
  from ..conditional import ConditionalTransformModule
  from ..torch_transform import TransformModule
  from ..util import copy_docs_from
label_desc: Use image node_id 1 for calling a global function with example usage: householder(input_dim, count_transforms) and returns: Householder