code: def test_accuracy(
      convert, load_jettagging_model, get_jettagging_data, strategy
  ):
      """
      Test the hls4ml-evaluated accuracy of a 3 hidden layer QKeras model trained on
      the jet tagging dataset. QKeras model accuracy is required to be over 70%, and
      hls4ml accuracy required to be within 1% of the QKeras model accuracy.
      """
      print("Test accuracy")
      from sklearn.metrics import accuracy_score
  
      X_train_val, X_test, y_train_val, y_test = get_jettagging_data
  
      hls_model = convert
      model = load_jettagging_model
  
      y_qkeras = model.predict(np.ascontiguousarray(X_test))
      y_hls4ml = hls_model.predict(np.ascontiguousarray(X_test))
  
      acc_qkeras = accuracy_score(
          np.argmax(y_test, axis=1), np.argmax(y_qkeras, axis=1)
      )
      acc_hls4ml = accuracy_score(
          np.argmax(y_test, axis=1), np.argmax(y_hls4ml, axis=1)
      )
      rel_diff = abs(acc_qkeras - acc_hls4ml) / acc_qkeras
  
      print(f"Accuracy qkeras:     {acc_qkeras}")
      print(f"Accuracy hls4ml:     {acc_hls4ml}")
      print(f"Relative difference: {rel_diff}")
  
      assert acc_qkeras > 0.7 and rel_diff < 0.01
  
imports: import warnings
  from pathlib import Path
  import numpy
  import pytest
  from qkeras.qconv2d_batchnorm import QConv2DBatchnorm
  from qkeras.qconvolutional import QDepthwiseConv2D, QSeparableConv1D, QSeparableConv2D
  from qkeras.qlayers import QActivation, QDense
  from qkeras.quantizers import binary, quantized_bits, quantized_po2, quantized_relu, quantized_sigmoid, quantized_tanh, ternary
  from qkeras.utils import _add_supported_quantized_objects
  from sklearn.datasets import fetch_openml
  from sklearn.model_selection import train_test_split
  from sklearn.preprocessing import LabelEncoder, StandardScaler
  from tensorflow.keras.layers import BatchNormalization, Input
  from tensorflow.keras.models import Model, Sequential, model_from_json
  from tensorflow.keras.utils import to_categorical
  import hls4ml
label_desc: Use image node_id 4 for calling a global function with example usage: test_accuracy(convert, load_jettagging_model, get_jettagging_data, strategy) without return types