code: def on_output_modify(self, new_output):
      slcs = [slice(None)] * new_output.ndim
      for axis in self._axis:
          slcs.insert(axis, None)
      return new_output[slcs]
  
file_path: mars/mars/tensor/base/squeeze.py
imports: from collections.abc import Iterable
  from ...serialization.serializables import FieldTypes, KeyField, TupleField
  from ...None import opcodes
  from ..operands import TensorHasInput, TensorOperandMixin
  from ..array_utils import as_same_device, device
label_desc: Use image node_id 2 for calling the TensorSqueeze obj's underlying member method code with example usage: obj.on_output_modify(new_output) and returns: new_output