class_docstr: TextSet wraps a set of texts with status.
class_docstr_tok: ["TextSet","wraps","a","set","of","texts","with","status","."]
docstr: Get the BigDL Sample representations of a TextSet (if any).
  If a text hasn't been transformed to Sample, its corresponding position will be None.
  
  :return: List of Sample for LocalTextSet.
           RDD of Sample for DistributedTextSet.
docstr_tok: ["Get","the","BigDL","Sample","representations","of","a","TextSet","(","if","any",")",".","If","a","text","has","n't","been","transformed","to","Sample",",","its","corresponding","position","will","be","None",".",":","return",":","List","of","Sample","for","LocalTextSet",".","RDD","of","Sample","for","DistributedTextSet","."]
code: def get_samples(self):
      """
      Get the BigDL Sample representations of a TextSet (if any).
      If a text hasn't been transformed to Sample, its corresponding position will be None.
  
      :return: List of Sample for LocalTextSet.
               RDD of Sample for DistributedTextSet.
      """
      return callZooFunc(
          self.bigdl_type, "textSetGetSamples", self.value
      )
  
imports: import six
  from bigdl.util.common import JavaValue
  from zoo.common.utils import callZooFunc
  from pyspark import RDD
label_desc: Use image node_id 15 for calling the TextSet obj's underlying member method code with example usage: obj.get_samples() and returns: callZooFunc