def weight_variable(shape):
    initial = tf.truncated_normal(shape, stddev=0.1)
    return tf.Variable(initial)
Test that poll() is properly restarted after receiving EINTR error.
dataset/ETHPy150Open longubu/datumio/examples/tensorflow/mnist_cnn.py/weight_variable--crossover with--dataset/ETHPy150Open pika/pika/tests/unit/select_connection_ioloop_tests.py/IOLoopEintrTestCaseSelect.test_eintr