class_docstr: Group lasso penalty class to be added to any arbitrary acquisition function
  to construct a PenalizedAcquisitionFunction.
docstr: Initializing Group-Lasso regularization.
  
  Args:
      init_point: The "1 x dim" reference point against which we want
          to regularize.
      groups: Groups of indices used in group lasso.
docstr_tok: ["Initializing","Group-Lasso","regularization",".","Args",":","init_point",":","The","``","1","x","dim","''","reference","point","against","which","we","want","to","regularize",".","groups",":","Groups","of","indices","used","in","group","lasso","."]
code: def __init__(self, init_point: Tensor, groups: List[List[int]]):
      r"""Initializing Group-Lasso regularization.
  
      Args:
          init_point: The "1 x dim" reference point against which we want
              to regularize.
          groups: Groups of indices used in group lasso.
      """
      super().__init__()
      self.init_point = init_point
      self.groups = groups
  
imports: from __future__ import annotations
  import math
  from typing import Any, Callable, List, Optional
  import torch
  from botorch.acquisition.acquisition import AcquisitionFunction
  from botorch.acquisition.analytic import AnalyticAcquisitionFunction
  from botorch.acquisition.objective import GenericMCObjective
  from botorch.exceptions import UnsupportedError
  from torch import Tensor
label_desc: Use image node_id 1 to create a new GroupLassoPenalty object from inherited base classes: torch.nn with example: obj = GroupLassoPenalty(init_point, groups)