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 _share(self, secret):
      with tf.name_scope("share"):
          share0 = secret.factory.sample_uniform(secret.shape)
          share1 = secret - share0
          # randomized swap to distribute who gets the seed
          if random.random() < 0.5:
              share0, share1 = share1, share0
      return share0, share1
  
imports: import abc
  import logging
  import random
  import tensorflow
  from ...config import get_config
label_desc: Use image node_id 18 for calling the BaseTripleSource obj's underlying member method code with example usage: obj._share(secret) and returns: share0,  share1