code: def set_default_networkparams(params: TrainerParams):
      params.optimizer_params.optimizer = "Adam"
      params.scenario_params.model_params.dropout = 0
      params.scenario_params.model_params.ctc_merge_repeated = True
      params.learning_rate_params.lr = 1e-3
  
imports: import json
  import logging
  import re
  from dataclasses import dataclass, field
  from typing import Optional, List
  from paiargparse import pai_meta, pai_dataclass
  from tfaip import TrainerParams, TrainerPipelineParamsBase
  from tfaip.util.tfaipargparse import post_init
  from calamari_ocr import calamari_ocr_dir
  from calamari_ocr.ocr import SavedCalamariModel
  from calamari_ocr.ocr.dataset.codec import CodecConstructionParams
  from calamari_ocr.ocr.model.layers.bilstm import BiLSTMLayerParams
  from calamari_ocr.ocr.model.layers.concat import ConcatLayerParams
  from calamari_ocr.ocr.model.layers.conv2d import Conv2DLayerParams
  from calamari_ocr.ocr.model.layers.dilatedblock import DilatedBlockLayerParams
  from calamari_ocr.ocr.model.layers.dropout import DropoutLayerParams
  from calamari_ocr.ocr.model.layers.pool2d import MaxPool2DLayerParams
  from calamari_ocr.ocr.model.layers.transposedconv2d import TransposedConv2DLayerParams
  from calamari_ocr.ocr.model.params import LayerParams, IntVec2D
  from calamari_ocr.ocr.scenario import CalamariScenarioParams
  from calamari_ocr.ocr.training.pipeline_params import CalamariDefaultTrainerPipelineParams, CalamariTrainOnlyPipelineParams, CalamariSplitTrainerPipelineParams
label_desc: Use image node_id 1 for calling a global function with example usage: set_default_networkparams(params) without return types