class_docstr: Class implementing ArrayFeatureExtractor in PyTorch
  
  This is used by SelectKBest, VarianceThreshold operators in scikit-learn
code: def __init__(self, logical_operator, column_indices, device):
      super(ArrayFeatureExtractor, self).__init__(
          logical_operator, transformer=True
      )
  
      is_contiguous = False
      if max(column_indices) - min(column_indices) + 1 == len(
          column_indices
      ):
          is_contiguous = True
          self.min = min(column_indices)
          self.max = max(column_indices) + 1
      self.column_indices = torch.nn.Parameter(
          torch.LongTensor(column_indices), requires_grad=False
      )
      self.is_contiguous = is_contiguous
  
imports: import torch
  from ._physical_operator import PhysicalOperator
label_desc: Use image node_id 1 to create a new ArrayFeatureExtractor object from inherited base classes: PhysicalOperator, torch.nn with example: obj = ArrayFeatureExtractor(logical_operator, column_indices, device)