# called by demo_global_writer

from tensorboardX import GlobalSummaryWriter

writer = GlobalSummaryWriter.getSummaryWriter()

writer.add_text('my_log', 'greeting from global1')

for i in range(100):
    writer.add_scalar('global1', i)

for i in range(100):
    writer.add_scalar('common', i)
fc9865c0b25b494f3ad25eecc1a9704a8089d56f
<mask token>

<mask token>
writer.add_text('my_log', 'greeting from global1')
for i in range(100):
    writer.add_scalar('global1', i)
for i in range(100):
    writer.add_scalar('common', i)

<mask token>
writer = GlobalSummaryWriter.getSummaryWriter()
writer.add_text('my_log', 'greeting from global1')
for i in range(100):
    writer.add_scalar('global1', i)
for i in range(100):
    writer.add_scalar('common', i)

from tensorboardX import GlobalSummaryWriter
writer = GlobalSummaryWriter.getSummaryWriter()
writer.add_text('my_log', 'greeting from global1')
for i in range(100):
    writer.add_scalar('global1', i)
for i in range(100):
    writer.add_scalar('common', i)

# called by demo_global_writer

from tensorboardX import GlobalSummaryWriter

writer = GlobalSummaryWriter.getSummaryWriter()

writer.add_text('my_log', 'greeting from global1')

for i in range(100):
    writer.add_scalar('global1', i)

for i in range(100):
    writer.add_scalar('common', i)