class_docstr: An array of fixed-shape, homogeneous-typed tensors.
  
  This is the Arrow side of TensorArray.
  
  See Arrow docs for customizing extension arrays:
  https://arrow.apache.org/docs/python/extending_types.html#custom-extension-array-class
class_docstr_tok: ["An","array","of","fixed-shape",",","homogeneous-typed","tensors",".","This","is","the","Arrow","side","of","TensorArray",".","See","Arrow","docs","for","customizing","extension","arrays",":","https",":","\/\/arrow.apache.org\/docs\/python\/extending_types.html","#","custom-extension-array-class"]
docstr: Convert this tensor array to a variable-shaped tensor array.
  
  This is primarily used when concatenating multiple chunked tensor arrays where
  at least one chunked array is already variable-shaped and/or the shapes of the
  chunked arrays differ, in which case the resulting concatenated tensor array
  will need to be in the variable-shaped representation.
docstr_tok: ["Convert","this","tensor","array","to","a","variable-shaped","tensor","array",".","This","is","primarily","used","when","concatenating","multiple","chunked","tensor","arrays","where","at","least","one","chunked","array","is","already","variable-shaped","and\/or","the","shapes","of","the","chunked","arrays","differ",",","in","which","case","the","resulting","concatenated","tensor","array","will","need","to","be","in","the","variable-shaped","representation","."]
code: def to_variable_shaped_tensor_array(
      self,
  ) -> "ArrowVariableShapedTensorArray":
      """
      Convert this tensor array to a variable-shaped tensor array.
  
      This is primarily used when concatenating multiple chunked tensor arrays where
      at least one chunked array is already variable-shaped and/or the shapes of the
      chunked arrays differ, in which case the resulting concatenated tensor array
      will need to be in the variable-shaped representation.
      """
      # TODO(Clark): Eliminate this NumPy roundtrip by directly constructing the
      # underlying storage array buffers (NumPy roundtrip will not be zero-copy for
      # e.g. boolean arrays).
      return ArrowVariableShapedTensorArray.from_numpy(self.to_numpy())
  
imports: import itertools
  import json
  import sys
  from typing import Iterable, Optional, Tuple, List, Sequence, Union
  from packaging.version import parse
  import numpy
  import pyarrow
  from ray.air.util.tensor_extensions.utils import _is_ndarray_variable_shaped_tensor, create_ragged_ndarray
  from ray._private.utils import _get_pyarrow_version
  from ray.util.annotations import PublicAPI
label_desc: Use image node_id 6 for calling the ArrowTensorArray obj's underlying member method code with example usage: obj.to_variable_shaped_tensor_array() and returns: ArrowVariableShapedTensorArray