code: def test_clone_model():
      model_seq_clone = clone_model(model_seq)
      assert (
          not (model_seq_clone.weights[0] == model_seq.weights[0])
          .numpy()
          .any()
      )
      model_func_clone = clone_model(model_func)
      assert (
          not (model_func_clone.weights[0] == model_func.weights[0])
          .numpy()
          .any()
      )
      model_sub_clone = clone_model(model_sub)
      _ = model_sub(tf.zeros((1, 10)))
      _ = model_sub_clone(tf.zeros((1, 10)))
      assert (
          not (model_sub_clone.weights[0] == model_sub.weights[0])
          .numpy()
          .any()
      )
  
file_path: alibi-detect/alibi_detect/utils/tensorflow/tests/test_misc_tf.py
imports: from itertools import product
  import pytest
  import tensorflow
  from tensorflow.keras.layers import Dense, Input, InputLayer
  import numpy
  from alibi_detect.utils.tensorflow import zero_diag, quantile, subset_matrix
  from alibi_detect.utils.tensorflow.misc import clone_model
label_desc: Use image node_id 5 for calling a global function with example usage: test_clone_model() without return types