code: def get_trainable_params(model):
      return list(filter(lambda p: p.requires_grad, model.parameters()))
  
file_path: decanlp/util.py
imports: from text import torchtext
  import time
  import os
  import sys
  import torch
  import random
  import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: get_trainable_params(model) and returns: list