code: def linear(input_size, output_size, bias=True, dropout: int = None):
      lin = nn.Linear(input_size, output_size, bias=bias)
      if dropout is not None:
          return nn.Sequential(nn.Dropout(dropout), lin)
      else:
          return lin
  
imports: from typing import Tuple
  import numpy
  import torch
  import torch.nn
  import torch.nn.functional
label_desc: Use image node_id 1 for calling a global function with example usage: linear(input_size, output_size, bias, dropout) and returns: nn, lin