Repository: ivy-llc/ivy

Issue:
ivy.functional.frontends.paddle.tensor.tensor in std method 
### Bug Explanation

there a method called std in ivy.functional.frontends.paddle.tensor.tensor is only implemented without the test function. and it has wrong implementation.

```python 
@with_unsupported_dtypes({"2.4.2 and below": ("float32", "float64")}, "paddle")
    def std(self, axis=None, unbiased=True, keepdim=False, name=None):
        return paddle_frontend.Tensor(
            ivy.std(self._ivy_array, axis=axis, keepdims=keepdim)
        )

```
it has previous paddle version and also the wrong supported dtype.

### Steps to Reproduce Bug

go to the ivy_tests/test_ivy/test_frontends/test_paddle/test_tensor/test_tensor.py this file location and write the test function.

it is not passing any case.

### Environment

wsl2 , ubuntu20.04 , vscode 

### Ivy Version

latest 

### Backend

- [X] NumPy
- [X] TensorFlow
- [X] PyTorch
- [X] JAX

### Device

_No response_


Discussion:

Resolving patch:
diff --git a/ivy/functional/frontends/paddle/tensor/tensor.py b/ivy/functional/frontends/paddle/tensor/tensor.py
--- a/ivy/functional/frontends/paddle/tensor/tensor.py
+++ b/ivy/functional/frontends/paddle/tensor/tensor.py
@@ -725,11 +725,9 @@ def atan(self, name=None):
     def atanh(self, name=None):
         return ivy.atanh(self._ivy_array)
 
-    @with_unsupported_dtypes({"2.4.2 and below": ("float32", "float64")}, "paddle")
+    @with_supported_dtypes({"2.5.1 and below": ("float32", "float64")}, "paddle")
     def std(self, axis=None, unbiased=True, keepdim=False, name=None):
-        return paddle_frontend.Tensor(
-            ivy.std(self._ivy_array, axis=axis, keepdims=keepdim)
-        )
+        return paddle_frontend.std(self, axis=axis, unbiased=unbiased, keepdim=keepdim)
 
     @with_supported_dtypes(
         {"2.5.1 and below": ("int32", "int64", "float32", "float64")}, "paddle"


Test patch:
diff --git a/ivy_tests/test_ivy/test_frontends/test_paddle/test_tensor/test_tensor.py b/ivy_tests/test_ivy/test_frontends/test_paddle/test_tensor/test_tensor.py
--- a/ivy_tests/test_ivy/test_frontends/test_paddle/test_tensor/test_tensor.py
+++ b/ivy_tests/test_ivy/test_frontends/test_paddle/test_tensor/test_tensor.py
@@ -354,6 +354,43 @@ def test_paddle_instance_atan(
     )
 
 
+# std
+@handle_frontend_method(
+    class_tree=CLASS_TREE,
+    init_tree="paddle.to_tensor",
+    method_name="std",
+    dtype_and_x=_statistical_dtype_values(function="std"),
+    keepdim=st.booleans(),
+)
+def test_paddle_instance_std(
+    dtype_and_x,
+    keepdim,
+    frontend,
+    backend_fw,
+    frontend_method_data,
+    init_flags,
+    method_flags,
+    on_device,
+):
+    input_dtype, x, axis, correction = dtype_and_x
+    helpers.test_frontend_method(
+        init_input_dtypes=input_dtype,
+        init_all_as_kwargs_np={"data": x[0]},
+        method_input_dtypes=input_dtype,
+        method_all_as_kwargs_np={
+            "axis": axis,
+            "unbiased": bool(correction),
+            "keepdim": keepdim,
+        },
+        frontend=frontend,
+        frontend_method_data=frontend_method_data,
+        init_flags=init_flags,
+        backend_to_test=backend_fw,
+        method_flags=method_flags,
+        on_device=on_device,
+    )
+
+
 # var
 @handle_frontend_method(
     class_tree=CLASS_TREE,