code: def _conv(ni, nf, ks=3, stride=1, self_attention=False, **kwargs):
      if self_attention:
          kwargs["xtra"] = SelfAttention(nf)
      return ConvLayer(
          ni, nf, ks=ks, stride=stride, **_conv_args, **kwargs
      )
  
imports: from __future__ import annotations
  from ..basics import *
  from .all import *
label_desc: Use image node_id 3 for calling a global function with example usage: _conv(ni, nf, ks, stride, _attention) and returns: ConvLayer