code: def _keep_layer(
      self, layer_params: torch.nn.parameter.Parameter, layer_name: str
  ) -> bool:
      layer_require_grad = layer_params.requires_grad
      if self.keep_bias:
          return layer_require_grad
      return layer_require_grad and ("bias" not in layer_name)
  
imports: from typing import Dict, Iterable, List, Tuple
  import numpy
  import torch
  from poutyne.framework.callbacks.callbacks import Callback
label_desc: Use image node_id 7 for calling the GradientTracker obj's underlying member method code with example usage: obj._keep_layer(layer_params, layer_name) and returns: unknown, layer_require_grad