def test_variable_rpow(self):
        """Test reverse power operation on a variable."""
        v1 = backend.Variable(initializer=np.array([1.0, 2.0, 3.0]))
        v2 = backend.Variable(initializer=np.array([4.0, 5.0, 6.0]))
        result = v2**v1
        self.assertAllClose(result, np.array([4.0, 25.0, 216.0]))
Test reverse power operation on a variable.
keras/src/backend/common/variables_test.py