Create input :obj:`nnabla.Variable` from :obj:`Inspec`.

    Args:
        inspecs (:obj:`list` of :obj:`Inspec`): A list of ``Inspec``.

    Returns:
        :obj:`list` of :obj:`nnabla.Variable`: Input variables.

def create_inputs(inspecs):
    """Create input :obj:`nnabla.Variable` from :obj:`Inspec`.

    Args:
        inspecs (:obj:`list` of :obj:`Inspec`): A list of ``Inspec``.

    Returns:
        :obj:`list` of :obj:`nnabla.Variable`: Input variables.

    """
    ret = []
    for i in inspecs:
        v = nn.Variable(i.shape, need_grad=i.need_grad)
        v.d = i.init(v.shape)
        ret.append(v)
    return ret