class_docstr: a Transformer that converts MLlib Vector to a Tensor.
  .. note:: Deprecated in 0.4.0. NNEstimator will automatically extract Vectors now.
  :param size dimensions of target Tensor.
class_docstr_tok: ["a","Transformer","that","converts","MLlib","Vector","to","a","Tensor",".","..","note",":",":","Deprecated","in","0.4.0",".","NNEstimator","will","automatically","extract","Vectors","now",".",":","param","size","dimensions","of","target","Tensor","."]
code: def __init__(self, size, bigdl_type="float"):
      super(MLlibVectorToTensor, self).__init__(bigdl_type, size)
  
imports: from bigdl.dllib.utils.common import *
  from bigdl.dllib.utils.file_utils import callZooFunc
  from bigdl.dllib.feature.dataset.dataset import DataSet
  from pyspark.serializers import CloudPickleSerializer
  import sys
  import math
  import warnings
  from bigdl.dllib.utils.log4Error import *
label_desc: Use image node_id 1 to create a new MLlibVectorToTensor object from inherited base classes: Preprocessing with example: obj = MLlibVectorToTensor(size, bigdl_type)