class_docstr: transform and retrieve features of RESample
docstr: replace sample fields for RE transformation
  
  :param dict data: contains transformed x, subj, obj keys
  :return RESample: transformed sample
docstr_tok: ["replace","sample","fields","for","RE","transformation",":","param","dict","data",":","contains","transformed","x",",","subj",",","obj","keys",":","return","RESample",":","transformed","sample"]
code: def replace_sample_fields(self, data):
      r"""
      replace sample fields for RE transformation
  
      :param dict data: contains transformed x, subj, obj keys
      :return RESample: transformed sample
  
      """
      sample = self.clone(self)
      sample.load(data)
  
      return sample
  
imports: import random
  import copy
  from .sample import Sample
  from ..field import TextField
  from ....common.settings import TASK_MASK
label_desc: Use image node_id 14 for calling the RESample obj's underlying member method code with example usage: obj.replace_sample_fields(data) and returns: sample