Unverified Commit 3c2aa1aa by Samuel Committed by GitHub

[DOCSTRING]missing function parameters updated (#5228)

parent 316ce055
...@@ -475,8 +475,8 @@ def log_softmax(data, axis=-1): ...@@ -475,8 +475,8 @@ def log_softmax(data, axis=-1):
data: tvm.relay.Expr data: tvm.relay.Expr
The input data to the operator. The input data to the operator.
axis: int axis: int, optional
The axis to sum over when computing softmax The axis to sum over when computing log softmax
Returns Returns
------- -------
...@@ -510,6 +510,9 @@ def max_pool1d(data, ...@@ -510,6 +510,9 @@ def max_pool1d(data,
data : tvm.relay.Expr data : tvm.relay.Expr
The input data to the operator. The input data to the operator.
pool_size : int or tuple of int, optional
The size of window for pooling.
strides : int or tuple of int, optional strides : int or tuple of int, optional
The strides of pooling. The strides of pooling.
...@@ -567,6 +570,9 @@ def max_pool2d(data, ...@@ -567,6 +570,9 @@ def max_pool2d(data,
data : tvm.relay.Expr data : tvm.relay.Expr
The input data to the operator. The input data to the operator.
pool_size : int or tuple of int, optional
The size of window for pooling.
strides : tuple of int, optional strides : tuple of int, optional
The strides of pooling. The strides of pooling.
...@@ -612,6 +618,9 @@ def max_pool3d(data, ...@@ -612,6 +618,9 @@ def max_pool3d(data,
data : tvm.relay.Expr data : tvm.relay.Expr
The input data to the operator. The input data to the operator.
pool_size : int or tuple of int, optional
The size of window for pooling.
strides : tuple of int, optional strides : tuple of int, optional
The strides of pooling. The strides of pooling.
...@@ -658,6 +667,9 @@ def avg_pool1d(data, ...@@ -658,6 +667,9 @@ def avg_pool1d(data,
data : tvm.relay.Expr data : tvm.relay.Expr
The input data to the operator. The input data to the operator.
pool_size : int or tuple of int, optional
The size of window for pooling.
strides : int or tuple of int, optional strides : int or tuple of int, optional
The strides of pooling. The strides of pooling.
...@@ -720,6 +732,9 @@ def avg_pool2d(data, ...@@ -720,6 +732,9 @@ def avg_pool2d(data,
data : tvm.relay.Expr data : tvm.relay.Expr
The input data to the operator. The input data to the operator.
pool_size : int or tuple of int, optional
The size of window for pooling.
strides : tuple of int, optional strides : tuple of int, optional
The strides of pooling. The strides of pooling.
...@@ -769,6 +784,9 @@ def avg_pool3d(data, ...@@ -769,6 +784,9 @@ def avg_pool3d(data,
data : tvm.relay.Expr data : tvm.relay.Expr
The input data to the operator. The input data to the operator.
pool_size : int or tuple of int, optional
The size of window for pooling.
strides : tuple of int, optional strides : tuple of int, optional
The strides of pooling. The strides of pooling.
...@@ -811,6 +829,9 @@ def max_pool2d_grad(out_grad, ...@@ -811,6 +829,9 @@ def max_pool2d_grad(out_grad,
data : tvm.relay.Expr data : tvm.relay.Expr
The input data to the operator. The input data to the operator.
pool_size : int or tuple of int, optional
The size of window for pooling.
strides : tuple of int, optional strides : tuple of int, optional
The strides of pooling. The strides of pooling.
...@@ -851,6 +872,9 @@ def avg_pool2d_grad(out_grad, ...@@ -851,6 +872,9 @@ def avg_pool2d_grad(out_grad,
data : tvm.relay.Expr data : tvm.relay.Expr
The input data to the operator. The input data to the operator.
pool_size : int or tuple of int, optional
The size of window for pooling.
strides : tuple of int, optional strides : tuple of int, optional
The strides of pooling. The strides of pooling.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment