class_docstr: Stem of ResNet.
class_docstr_tok: ["Stem","of","ResNet","."]
code: def __init__(
      self,
      w_in,
      w_out,
      net_params,
      kernelsize=3,
      stride=1,
      padding=1,
      use_maxpool=False,
      poolksize=3,
      poolstride=2,
      poolpadding=1,
  ):
      super(ResStem, self).__init__()
      self.has_bn = net_params["has_bn"]
      self.use_srelu = net_params["use_srelu"]
      self.kernelsize = kernelsize
      self.stride = stride
      self.padding = padding
      self.use_maxpool = use_maxpool
      self.poolksize = poolksize
      self.poolstride = poolstride
      self.poolpadding = poolpadding
      self._construct(w_in, w_out)
  
imports: import numpy
  import torch
  import torch.nn
  import torch.nn.functional
label_desc: Use image node_id 1 to create a new ResStem object from inherited base classes: nn with example: obj = ResStem(w_in, w_out, net_params, kernelsize, stride, padding, use_maxpool, poolksize, poolstride, poolpadding)