old_contents: '''
  Created on Sep 21, 2015
  
  @author: kashefy
  '''
  from google.protobuf import text_format
  from caffe.proto import caffe_pb2
  
  class Parser(object):
      '''
      classdocs
      '''    
      def from_net_params_file(self, fpath):
          
          config = caffe_pb2.NetParameter()
          return self.from_file(fpath, config)
      
      def from_file(self, fpath, dst_obj):
          
          with open(fpath, "r") as f:
              text_format.Merge(str(f.read()), dst_obj)
          return dst_obj
  
      def __init__(self):
          '''
          Constructor
          '''
          
new_contents: '''
  Created on Sep 21, 2015
  
  @author: kashefy
  '''
  from google.protobuf import text_format
  from caffe.proto import caffe_pb2
  
  class Parser(object):
      '''
      classdocs
      '''    
      def from_net_params_file(self, fpath):
          
          config = caffe_pb2.NetParameter()
          return self.from_file(fpath, config)
      
      def from_file(self, fpath, dst_obj):
          
          with open(fpath, "r") as f:
              text_format.Merge(str(f.read()), dst_obj)
          return dst_obj
  
      def __init__(self):
          '''
          Constructor
          '''
          
  class Target(object):
      
      def __init__(self, name, key, new_value, conditions=[]):
          '''
          Constructor
          '''
          self.name = name
          self.key = key
          self.conditions = conditions
          self.new_value = new_value
subject: add target class for extracting info from log info