__author__ = 'Sejune Cheon'
__version__ = '1.1'
__environment__ = 'Python-3.5.2'
__description__ = 'developed for preprocessing feature to image-wise data-form'
import numpy as np


def preprocess_feature_input(output_features, output_shape):
    feature_images = []
    for img in output_features:
        feature_img = []
        for val in img.flatten():
            feature_img.append(np.full(output_shape, val))
        feature_images.append(np.rollaxis(np.array(feature_img), 0, 3))
    return np.array(feature_images)

ae1a50b2c7d503a7a4ca2e9cad52e3ba16761584
<mask token>

<mask token>


def preprocess_feature_input(output_features, output_shape):
    feature_images = []
    for img in output_features:
        feature_img = []
        for val in img.flatten():
            feature_img.append(np.full(output_shape, val))
        feature_images.append(np.rollaxis(np.array(feature_img), 0, 3))
    return np.array(feature_images)

__author__ = 'Sejune Cheon'
__version__ = '1.1'
__environment__ = 'Python-3.5.2'
__description__ = 'developed for preprocessing feature to image-wise data-form'
<mask token>


def preprocess_feature_input(output_features, output_shape):
    feature_images = []
    for img in output_features:
        feature_img = []
        for val in img.flatten():
            feature_img.append(np.full(output_shape, val))
        feature_images.append(np.rollaxis(np.array(feature_img), 0, 3))
    return np.array(feature_images)

__author__ = 'Sejune Cheon'
__version__ = '1.1'
__environment__ = 'Python-3.5.2'
__description__ = 'developed for preprocessing feature to image-wise data-form'
import numpy as np


def preprocess_feature_input(output_features, output_shape):
    feature_images = []
    for img in output_features:
        feature_img = []
        for val in img.flatten():
            feature_img.append(np.full(output_shape, val))
        feature_images.append(np.rollaxis(np.array(feature_img), 0, 3))
    return np.array(feature_images)
