parameters: (schema)
return_statement: return tensor_types, tensor_shapes
docstring: Convert an Arrow schema to tuple of (Tensor dtypes, TensorShapes).
      This function requires pyarrow to be installed.
docstring_summary: Convert an Arrow schema to tuple of (Tensor dtypes, TensorShapes).
      This function requires pyarrow to be installed.
docstring_tokens: Convert an Arrow schema to tuple of ( Tensor dtypes TensorShapes ) . This function requires pyarrow to be installed .
function: def arrow_schema_to_tensor_types(schema):
      """Convert an Arrow schema to tuple of (Tensor dtypes, TensorShapes).
      This function requires pyarrow to be installed.
      """
      type_shape_list = [arrow_to_tensor_type(field.type) for field in schema]
      tensor_types, shape_dims = zip(*type_shape_list)
      tensor_shapes = tuple(tf.TensorShape(s) for s in shape_dims)
      return tensor_types, tensor_shapes
function_tokens: def arrow_schema_to_tensor_types ( schema ) : type_shape_list = [ arrow_to_tensor_type ( field . type ) for field in schema ] tensor_types , shape_dims = zip ( * type_shape_list ) tensor_shapes = tuple ( tf . TensorShape ( s ) for s in shape_dims ) return tensor_types , tensor_shapes