def num_active_mesos_tasks():
    while True:
        data = json.load(urllib2.urlopen(
            os.environ['RELAY_MESOS_MASTER_STATE_FOR_DEMO']))
        yield data['started_tasks'] + data['staged_tasks'] - (
            data['failed_tasks'] + data['killed_tasks'] +
            data['lost_tasks'] + data['finished_tasks'])
This is basic test for GpuCrossentropySoftmaxArgmax1HotWithBias
dataset/ETHPy150Open sailthru/relay.mesos/relay_mesos/for_demo.py/num_active_mesos_tasks--crossover with--dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/sandbox/gpuarray/tests/test_nnet.py/test_GpuCrossentropySoftmaxArgmax1HotWithBias