class_docstr: Test that the wrapped NumPy functionality integrates well
  with standard NumPy functions.
class_docstr_tok: ["Test","that","the","wrapped","NumPy","functionality","integrates","well","with","standard","NumPy","functions","."]
docstr: Test that a tensor is properly created from a string.
docstr_tok: ["Test","that","a","tensor","is","properly","created","from","a","string","."]
code: def test_tensor_creation_from_string(self):
      """Test that a tensor is properly created from a string."""
      string = "5, 4, 1, 2"
      x = np.fromstring(string, dtype=int, sep=",")
  
      assert isinstance(x, np.tensor)
      assert x.requires_grad
  
      x = np.fromstring(string, requires_grad=True, dtype=int, sep=",")
      assert x.requires_grad
  
      x.requires_grad = False
      assert not x.requires_grad
  
      x = np.fromstring(string, requires_grad=False, dtype=int, sep=",")
      assert not x.requires_grad
  
imports: import numpy
  import pytest
  from autograd.numpy.numpy_boxes import ArrayBox
  import pennylane
  from pennylane import numpy
  from pennylane.numpy.tensor import tensor_to_arraybox
label_desc: Use image node_id 3 for calling the TestNumpyIntegration obj's underlying member method code with example usage: obj.test_tensor_creation_from_string() without return types