From 85a0746e9dc00a4a0d12d833112d358dc52d1275 Mon Sep 17 00:00:00 2001 From: heqiaozhi Date: Fri, 12 Apr 2019 10:30:40 +0800 Subject: [PATCH] fix doc test=develop --- python/paddle/fluid/layers/nn.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/paddle/fluid/layers/nn.py b/python/paddle/fluid/layers/nn.py index 1b76634d4f..2c91f4fef1 100644 --- a/python/paddle/fluid/layers/nn.py +++ b/python/paddle/fluid/layers/nn.py @@ -11071,9 +11071,9 @@ def continuous_value_model(input, cvm, use_cvm=True): **continuous_value_model layers** continuous value model(cvm). Now, it only considers show and click value in CTR project. - We assume that input is a embedding vector with cvm_feature, whose shape is [N * D] (D is 2 + embedding dim). - if use_cvm is True, it will log(cvm_feature), and output shape is [N * D]. - if use_cvm is False, it will remove cvm_feature from input, and output shape is [N * (D - 2)]. + We assume that input is an embedding vector with cvm_feature, whose shape is [N * D] (D is 2 + embedding dim). + If use_cvm is True, it will log(cvm_feature), and output shape is [N * D]. + If use_cvm is False, it will remove cvm_feature from input, and output shape is [N * (D - 2)]. This layer accepts a tensor named input which is ID after embedded(lod level is 1), cvm is a show_click info. -- GitLab