code: def test_state_dict_pure_fp16():
      weight, bias, input = make_half_precision_params()
      optimizer = Adam(
          [weight, bias], lr=1e-3, precision=Precision.PURE_FP16
      )
  
      state_dict_test(optimizer, weight, bias, input)
  
imports: from copy import deepcopy
  import functools
  import pytest
  import torch
label_desc: Use image node_id 18 for calling a global function with example usage: test_state_dict_pure_fp16() without return types