code: def _keep_layer(self, param: torch.nn.parameter.Parameter, name: str):
      if self.keep_bias:
          return param.requires_grad
      return param.requires_grad and ("bias" not in name)
  
imports: import csv
  import os
  from typing import Dict, List, Optional, TextIO, Union
  import torch
  from poutyne.framework.callbacks._utils import atomic_lambda_save
  from poutyne.framework.callbacks.callbacks import Callback
label_desc: Use image node_id 6 for calling the GradientLoggerBase obj's underlying member method code with example usage: obj._keep_layer(param, name) and returns: unknown, param