test=develop
revert-16839-cmakelist_change
heqiaozhi 7 years ago
parent 96d5ec16f6
commit 85a0746e9d

@ -11071,9 +11071,9 @@ def continuous_value_model(input, cvm, use_cvm=True):
**continuous_value_model layers** **continuous_value_model layers**
continuous value model(cvm). Now, it only considers show and click value in CTR project. 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). 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 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)]. 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. This layer accepts a tensor named input which is ID after embedded(lod level is 1), cvm is a show_click info.

Loading…
Cancel
Save