class_docstr: This triple source will generate triples as part of the online phase
  using a dedicated third-party `producer`.
  
  There is no need to call `generate_triples` nor `initialize`.
class_docstr_tok: ["This","triple","source","will","generate","triples","as","part","of","the","online","phase","using","a","dedicated","third-party","`","producer","`",".","There","is","no","need","to","call","`","generate_triples","`","nor","`","initialize","`","."]
code: def __init__(self, producer):
      super().__init__(None, None, producer)
  
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 OnlineTripleSource object from inherited base classes: BaseTripleSource with example: obj = OnlineTripleSource(producer)