code: def _cast_to_int(prediction):
      return tf.cast(x=prediction, dtype=tf.int32)
  
file_path: graphics/tensorflow_graphics/nn/metric/recall.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from typing import Any, Callable, List, Optional, Tuple, Union
  import tensorflow
  from tensorflow_graphics.util import export_api
  from tensorflow_graphics.util import safe_ops
  from tensorflow_graphics.util import shape
  from tensorflow_graphics.util import type_alias
label_desc: Use image node_id 1 for calling a global function with example usage: _cast_to_int(prediction) and returns: tf