code: def assert_tensor_equal(
      t1: ext.TensorLike, t2: ext.TensorLike
  ) -> None:
      assert t1.shape == t2.shape
      assert tf.math.equal(t1, t2).numpy().all()
  
file_path: BentoML/tests/integration/frameworks/test_tensorflow_unit.py
imports: from __future__ import annotations
  import typing
  from typing import TYPE_CHECKING
  import numpy
  import pytest
  import tensorflow
  from bentoml._internal.runner.container import AutoContainer
  from bentoml._internal.runner.container import DataContainerRegistry
  from bentoml._internal.types import LazyType
label_desc: Use image node_id 2 for calling a global function with example usage: assert_tensor_equal(t1, t2) without return types