code: def __init__(self, neg_type, num_negs=5):
      if not isinstance(neg_type, list):
          neg_type = [neg_type]
      self.num_negs = num_negs
      self.neg_type = neg_type
  
file_path: euler/tf_euler/python/solution/samplers.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
  import tf_euler
label_desc: Use image node_id 1 to create a new SampleNegWithTypes object from inherited base classes: object with example: obj = SampleNegWithTypes(neg_type, num_negs)