diff --git a/develop/doc/api/v2/data.html b/develop/doc/api/v2/data.html index 1dff7c81242bdf09d5c8d4b76a5627961167051c..697dfc899ec775c85b0514bc9f20ff946e72c4b8 100644 --- a/develop/doc/api/v2/data.html +++ b/develop/doc/api/v2/data.html @@ -185,12 +185,50 @@
paddle.v2.data_type.
dense_array
(dim, seq_type=0)Dense Array. It means the input feature is dense array with float type. +For example, if the input is an image with 28*28 pixels, the input of +Paddle neural network could be a dense vector with dimension 784 or a +numpy array with shape (28, 28).
+For the 2-D convolution operation, each sample in one mini-batch must have +the similarly size in PaddlePaddle now. But, it supports variable-dimension +feature across mini-batch. For the variable-dimension, the param dim is not +used. While the data reader must yield numpy array and the data feeder will +set the data shape correctly.
+Parameters: |
|
+
---|---|
Returns: | An input type object. + |
+
Return type: | InputType + |
+
paddle.v2.data_type.
dense_vector
(dim, seq_type=0)Dense Vector. It means the input feature is dense float vector. For example, -if the input is an image with 28*28 pixels, the input of Paddle neural -network should be a dense vector with dimension 784.
+Dense Array. It means the input feature is dense array with float type. +For example, if the input is an image with 28*28 pixels, the input of +Paddle neural network could be a dense vector with dimension 784 or a +numpy array with shape (28, 28).
+For the 2-D convolution operation, each sample in one mini-batch must have +the similarly size in PaddlePaddle now. But, it supports variable-dimension +feature across mini-batch. For the variable-dimension, the param dim is not +used. While the data reader must yield numpy array and the data feeder will +set the data shape correctly.
参数: |
|
+
---|---|
返回: | An input type object. + |
+
返回类型: | InputType + |
+
paddle.v2.data_type.
dense_vector
(dim, seq_type=0)Dense Vector. It means the input feature is dense float vector. For example, -if the input is an image with 28*28 pixels, the input of Paddle neural -network should be a dense vector with dimension 784.
+Dense Array. It means the input feature is dense array with float type. +For example, if the input is an image with 28*28 pixels, the input of +Paddle neural network could be a dense vector with dimension 784 or a +numpy array with shape (28, 28).
+For the 2-D convolution operation, each sample in one mini-batch must have +the similarly size in PaddlePaddle now. But, it supports variable-dimension +feature across mini-batch. For the variable-dimension, the param dim is not +used. While the data reader must yield numpy array and the data feeder will +set the data shape correctly.