code: def _zero_tensor(tensor, zero_low=None, zero_high=None):
      entire_tensor = [slice(None) for _ in range(tensor.ndim)]
      if zero_low is not None:
          for dimension_idx, is_zero in enumerate(zero_low):
              if is_zero:
                  dim_slices = entire_tensor.copy()
                  dim_slices[dimension_idx] = 0
                  tensor[tuple(dim_slices)] = 0
      if zero_high is not None:
          for dimension_idx, is_zero in enumerate(zero_high):
              if is_zero:
                  dim_slices = entire_tensor.copy()
                  dim_slices[dimension_idx] = -1
                  tensor[tuple(dim_slices)] = 0
  
imports: from itertools import count
  import numpy
  import logging
label_desc: Use image node_id 3 for calling a global function with example usage: _zero_tensor(tensor, zero_low, zero_high) without return types