class_docstr: COINZSPredictor for COIN zero-shot prediction.
class_docstr_tok: ["COINZSPredictor","for","COIN","zero-shot","prediction","."]
code: def reshape_subsample(self, sample):
      for key in sample:
          if torch.is_tensor(sample[key]):
              sample[key] = self.flat_subsample(sample[key])
      return sample
  
imports: import os
  import random
  import json
  import numpy
  import torch
  import pickle
  import math
  from tqdm import tqdm
label_desc: Use image node_id 3 for calling the COINZSPredictor obj's underlying member method code with example usage: obj.reshape_subsample(sample) and returns: sample