class_docstr: Partial triple source adding graph nodes for constructing and keeping track
  of triples and their use. Subclasses must implement `_build_queues`.
class_docstr_tok: ["Partial","triple","source","adding","graph","nodes","for","constructing","and","keeping","track","of","triples","and","their","use",".","Subclasses","must","implement","`","_build_queues","`","."]
code: def __init__(self, player0, player1, producer):
      config = get_config()
      self.player0 = config.get_player(player0) if player0 else None
      self.player1 = config.get_player(player1) if player1 else None
      self.producer = config.get_player(producer) if producer else None
  
imports: import abc
  import logging
  import random
  import tensorflow
  from ...config import get_config
label_desc: Use image node_id 1 to create a new BaseTripleSource object from inherited base classes: abc with example: obj = BaseTripleSource(player0, player1, producer)