code: def fill(self, value):
      if value != np.inf:  # should already be cleared to np.inf
          for i in range(len(self.dense)):
              self.dense[i] = value
  
imports: import array
  from abc import ABC, abstractmethod
  from itertools import repeat
  from typing import Tuple
  import numpy
  from .window import CRWindow, Window
label_desc: Use image node_id 2 for calling the SparseCostMatrix obj's underlying member method code with example usage: obj.fill(value) without return types