class_docstr: Base class for strategies to select representations.
  
  This base class handles sample and update frequencies, as well as logging
  selection statistics to TensorBoard. Sub-classes should implement _select()
  and _update().
docstr: Returns whether the strategy should update its state at this epoch.
docstr_tok: ["Returns","whether","the","strategy","should","update","its","state","at","this","epoch","."]
code: def should_update(self, epoch):
      """Returns whether the strategy should update its state at this epoch."""
      return epoch - self.last_update_epoch >= self.update_freq
  
imports: import gin
  import tensorflow.compat.v2
label_desc: Use image node_id 3 for calling the SelectionStrategy obj's underlying member method code with example usage: obj.should_update(epoch) and returns: unknown