def _as_lodtensor(data, place):
    '\n        Convert numpy.ndarray to Tensor, its only support Tensor without LoD information.\n        For higher dimensional sequence data, please use LoDTensor directly.\n\n        Examples:\n            >>> import paddle.fluid as fluid\n            >>> place = fluid.CPUPlace()\n            >>> exe = fluid.executor(place)\n            >>> data = np.array(size=(100, 200, 300))\n            >>> np_outs = map(lambda x: fluid.executor._as_lodtensor(x, place), data)\n            >>>     ...\n\n        Args:\n            data(numpy.ndarray): a instance of array\n\n        Returns:\n            LoDTensor\n        '
    if isinstance(data, list):
        raise RuntimeError('Some of your feed data hold LoD information.                 They can not be completely cast from a list of Python                 ndarray to LoDTensor. Please convert data to LoDTensor                 directly before feeding the data.                ')
    tensor = core.LoDTensor()
    tensor.set(data, place)
    return tensor
Convert numpy.ndarray to Tensor, its only support Tensor without LoD information.
For higher dimensional sequence data, please use LoDTensor directly.

Examples:
    >>> import paddle.fluid as fluid
    >>> place = fluid.CPUPlace()
    >>> exe = fluid.executor(place)
    >>> data = np.array(size=(100, 200, 300))
    >>> np_outs = map(lambda x: fluid.executor._as_lodtensor(x, place), data)
    >>>     ...

Args:
    data(numpy.ndarray): a instance of array

Returns:
    LoDTensor
def _as_lodtensor(data, place):
    '\n        Convert numpy.ndarray to Tensor, its only support Tensor without LoD information.\n        For higher dimensional sequence data, please use LoDTensor directly.\n\n        Examples:\n            >>> import paddle.fluid as fluid\n            >>> place = fluid.CPUPlace()\n            >>> exe = fluid.executor(place)\n            >>> data = np.array(size=(100, 200, 300))\n            >>> np_outs = map(lambda x: fluid.executor._as_lodtensor(x, place), data)\n            >>>     ...\n\n        Args:\n            data(numpy.ndarray): a instance of array\n\n        Returns:\n            LoDTensor\n        '
    if isinstance(data, list):
        raise RuntimeError('Some of your feed data hold LoD information.                 They can not be completely cast from a list of Python                 ndarray to LoDTensor. Please convert data to LoDTensor                 directly before feeding the data.                ')
    tensor = core.LoDTensor()
    tensor.set(data, place)
    return tensor