class_docstr: A `LightAdapterResnetBlock` is a helper model that implements a ResNet-like block with a slightly different
  architecture than `AdapterResnetBlock`.
  
  Parameters:
      channels (`int`):
          Number of channels of LightAdapterResnetBlock's input and output.
class_docstr_tok: ["A","`","LightAdapterResnetBlock","`","is","a","helper","model","that","implements","a","ResNet-like","block","with","a","slightly","different","architecture","than","`","AdapterResnetBlock","`",".","Parameters",":","channels","(","`","int","`",")",":","Number","of","channels","of","LightAdapterResnetBlock","'s","input","and","output","."]
code: def __init__(self, channels: int):
      super().__init__()
      self.block1 = nn.Conv2d(
          channels, channels, kernel_size=3, padding=1
      )
      self.act = nn.ReLU()
      self.block2 = nn.Conv2d(
          channels, channels, kernel_size=3, padding=1
      )
  
imports: import os
  from typing import Callable, List, Optional, Union
  import torch
  import torch.nn
  from ..configuration_utils import ConfigMixin, register_to_config
  from ..utils import logging
  from .modeling_utils import ModelMixin
label_desc: Use image node_id 1 to create a new LightAdapterResnetBlock object from inherited base classes: nn with example: obj = LightAdapterResnetBlock(channels)