code: def task_model_builder(m_dir):
      return dc.models.TensorflowMultitaskRegressor(
          n_tasks=1,
          n_features=n_features,
          logdir=m_dir,
          layer_sizes=[1000] * n_layers,
          dropouts=[0.25] * n_layers,
          weight_init_stddevs=[0.02] * n_layers,
          bias_init_consts=[1.0] * n_layers,
          learning_rate=0.0003,
          penalty=0.0001,
          penalty_type="l2",
          optimizer="adam",
          batch_size=100,
      )
  
file_path: deepchem/examples/uv/UV_tf_singletask.py
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import unicode_literals
  import os
  import numpy
  import tempfile
  import shutil
  import deepchem
label_desc: Use image node_id 1 for calling a global function with example usage: task_model_builder(m_dir) and returns: dc