class_docstr: PartitionedFunction will translate call to cached Function call
class_docstr_tok: ["PartitionedFunction","will","translate","call","to","cached","Function","call"]
code: def __init__(self, func, partitions):
      self._func = func
      self._partitions = partitions
      partitions_indices = tf.cumsum(partitions).numpy().tolist()
      self._partitions_start = list([0] + partitions_indices[:-1])
      self._partitions_stop = partitions_indices
      self._tensors = [None for _ in partitions]
  
imports: import tensorflow
label_desc: Use image node_id 1 to create a new _IOTensorPartitionedFunction object  with example: obj = _IOTensorPartitionedFunction(func, partitions)