code: def i_update_with_masks(self, value, positions, masks):
      from fate.arch.tensor.phe import PHETensor
  
      if isinstance(value, PHETensor):
          value = value.data
  
      return self.evaluator.i_update_with_masks(
          self.pk, self.data, value, positions, masks, self.stride
      )
  
imports: import logging
  import typing
  from typing import List, Tuple
  import torch
  from ._encoded import HistogramEncodedValues
  from ._value import HistogramValues
  from ..indexer import Shuffler
label_desc: Use image node_id 4 for calling the HistogramEncryptedValues obj's underlying member method code with example usage: obj.i_update_with_masks(value, positions, masks) and returns: self