code: def test_accuracy(accuracy_test, hyperparameters):
      hyperparameters.update(num_batches_per_epoch=100)
  
      accuracy_test(DeepStateEstimator, hyperparameters, accuracy=0.77)
  
imports: import pytest
  from gluonts.mx.model.deepstate import DeepStateEstimator
label_desc: Use image node_id 2 for calling a global function with example usage: test_accuracy(accuracy_test, hyperparameters) without return types