code: def get_tile_inds(format, device):
      transform = lambda x: F.transform(
          x.to(device), from_order="row", to_order=format
      )[0].to(x.device)
      with torch.no_grad():
          return get_inverse_transform_indices(
              transform, _get_tile_size(format)
          ).to(device)
  
imports: import operator
  import warnings
  from dataclasses import dataclass
  from functools import reduce
  from typing import Tuple, Optional, List
  from warnings import warn
  import torch
  import bitsandbytes.functional
label_desc: Use image node_id 6 for calling a global function with example usage: get_tile_inds(format, device) and returns: get_inverse_transform_indices