class_docstr: Test the construction of composite ops.
class_docstr_tok: ["Test","the","construction","of","composite","ops","."]
docstr: Test that the batch_size is correct when some but not all operands are batched.
docstr_tok: ["Test","that","the","batch_size","is","correct","when","some","but","not","all","operands","are","batched","."]
code: def test_batch_size_not_all_batched(self):
      """Test that the batch_size is correct when some but not all operands are batched."""
      base = qml.RX(np.array([1.2, 2.3, 3.4]), 0)
      op = ValidOp(
          base, qml.RY(1, 0), qml.RZ(np.array([1, 2, 3]), wires=2)
      )
      assert op.batch_size == 3
  
imports: from copy import copy
  import numpy
  import pytest
  import pennylane
  from pennylane.operation import DecompositionUndefinedError
  from pennylane.ops.op_math import CompositeOp, Prod, Sum, SProd
  from pennylane.wires import Wires
label_desc: Use image node_id 11 for calling the TestConstruction obj's underlying member method code with example usage: obj.test_batch_size_not_all_batched() without return types