def in_test_phase(x, alt):
    x_shape = copy.copy(x.get_shape())
    x = tf.python.control_flow_ops.cond(tf.cast(_LEARNING_PHASE, 'bool'),
                                        lambda: alt,
                                        lambda: x)
    x._uses_learning_phase = True
    x.set_shape(x_shape)
    return x


# NN OPERATIONS
Return the actions the extensions adds
dataset/ETHPy150Open fchollet/keras/keras/backend/tensorflow_backend.py/in_test_phase--crossover with--dataset/ETHPy150Open nii-cloud/dodai-compute/nova/api/openstack/contrib/security_groups.py/Security_groups.get_actions