docstr: Merging namespace args w/ ML Params
docstr_tok: ["Merging","namespace","args","w\/","ML","Params"]
code: def test_TFParams(self):
      """Merging namespace args w/ ML Params"""
  
      class Foo(TFParams, HasBatchSize, HasSteps):
          def __init__(self, args):
              super(Foo, self).__init__()
              self.args = args
  
      n = Namespace({"a": 1, "b": 2})
      f = Foo(n).setBatchSize(10).setSteps(100)
      combined_args = f.merge_args_params()
      expected_args = Namespace(
          {"a": 1, "b": 2, "batch_size": 10, "steps": 100}
      )
      self.assertEqual(combined_args, expected_args)
  
file_path: TensorFlowOnSpark/tests/test_pipeline.py
imports: import numpy
  import os
  import shutil
  import test
  import unittest
  from tensorflowonspark import compat
  from tensorflowonspark.pipeline import HasBatchSize, HasSteps, Namespace, TFEstimator, TFParams
  from tensorflow.keras import Sequential
  from tensorflow.keras.layers import Dense
label_desc: Use image node_id 6 for calling the PipelineTest obj's underlying member method code with example usage: obj.test_TFParams() without return types