class_docstr: Test the Adam (adaptive moment estimation) optimizer
docstr: Test the adam property interfaces
docstr_tok: ["Test","the","adam","property","interfaces"]
code: def test_adam_optimizer_properties(self):
      """Test the adam property interfaces"""
      stepsize, gamma, delta = 0.1, 0.5, 0.8
      adam_opt = AdamOptimizer(stepsize, beta1=gamma, beta2=delta)
  
      # check if None is returned when accumulation is empty
      assert adam_opt.fm is None
      assert adam_opt.sm is None
      assert adam_opt.t is None
  
      # Do some calculations to fill accumulation
      adam_opt.step(np.sin, np.random.rand(1))
  
      # Check the properties return the same values, stored in accumulation
      assert adam_opt.fm == adam_opt.accumulation["fm"]
      assert adam_opt.sm == adam_opt.accumulation["sm"]
      assert adam_opt.t == adam_opt.accumulation["t"]
  
imports: import pytest
  from pennylane import numpy
  from pennylane.optimize import AdamOptimizer
label_desc: Use image node_id 4 for calling the TestAdamOptimizer obj's underlying member method code with example usage: obj.test_adam_optimizer_properties() without return types