Home
last modified time | relevance | path

Searched refs:subsample_ (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dword2vec_kernels.cc58 OP_REQUIRES_OK(ctx, ctx->GetAttr("subsample", &subsample_)); in SkipgramOp()
114 float subsample_ = 1e-3; member in tensorflow::SkipgramOp
152 if (subsample_ > 0) { in NextExample()
156 (std::sqrt(word_freq / (subsample_ * corpus_size_)) + 1) * in NextExample()
157 (subsample_ * corpus_size_) / word_freq; in NextExample()