Пример #1
0
def save_images(images, file_name=None):
    """Calls s_images with fixed parameters.

    Arguments:
     - images: Array with one row per image
     - file_name: png file in which to save the image
    """
    return s_images(images, file_name, vmin=0.0, vmax=1.0)
def save_images(images, file_name): return s_images(images, file_name, vmin = 0.0, vmax = 1.0)

# Sigmoid activiation function to estimate probabilities

def sigmoid(x):