@@ -128,8 +128,10 @@ class NCEOpMaker : public framework::OpProtoAndCheckerMaker {
...
@@ -128,8 +128,10 @@ class NCEOpMaker : public framework::OpProtoAndCheckerMaker {
"user should avoid setting this attribute.")
"user should avoid setting this attribute.")
.SetDefault({});
.SetDefault({});
AddComment(R"DOC(
AddComment(R"DOC(
Compute and return the noise-contrastive estimation training loss.
Compute and return the noise-contrastive estimation training loss. See
See [Noise-contrastive estimation: A new estimation principle for unnormalized statistical models](http://www.jmlr.org/proceedings/papers/v9/gutmann10a/gutmann10a.pdf).
`Noise-contrastive estimation: A new estimation principle for unnormalized