code: def __init__(self, features, labels, bigdl_type="float"):
      super(Sample, self).__init__(features, labels, bigdl_type)
  
imports: from bigdl.util.common import Sample, JTensor, JavaCreator, _get_gateway, _py2java, _java2py
  import numpy
  import os
  import tempfile
  import uuid
  import functools
  from urllib.parse import urlparse
label_desc: Use image node_id 1 to create a new Sample object from inherited base classes: BSample with example: obj = Sample(features, labels, bigdl_type)