Click or drag to resize

GraphFixedUnigramCandidateSampler Method

https://www.emgu.com/wiki/index.php/Emgu_TF
FixedUnigramCandidateSampler

Namespace:  Emgu.TF
Assembly:  Emgu.TF.Netstandard (in Emgu.TF.Netstandard.dll) Version: 2.6.0.1294
Syntax
public Operation FixedUnigramCandidateSampler(
	Output true_classes,
	long num_true,
	long num_sampled,
	bool unique,
	long range_max,
	string vocab_file = null,
	float distortion = 1f,
	long num_reserved_ids = 0,
	long num_shards = 1,
	long shard = 0,
	float[] unigrams = null,
	long seed = 0,
	long seed2 = 0,
	string opName = "FixedUnigramCandidateSampler"
)

Parameters

true_classes
Type: Emgu.TFOutput
Input to the operation.
num_true
Type: SystemInt64
num true
num_sampled
Type: SystemInt64
num sampled
unique
Type: SystemBoolean
unique
range_max
Type: SystemInt64
range max
vocab_file (Optional)
Type: SystemString
vocab file
distortion (Optional)
Type: SystemSingle
distortion
num_reserved_ids (Optional)
Type: SystemInt64
num reserved ids
num_shards (Optional)
Type: SystemInt64
num shards
shard (Optional)
Type: SystemInt64
shard
unigrams (Optional)
Type: SystemSingle
unigrams
seed (Optional)
Type: SystemInt64
seed
seed2 (Optional)
Type: SystemInt64
seed2
opName (Optional)
Type: SystemString
The name of the operation

Return Value

Type: Operation
The operation, where: [0] sampled_candidates(type: DtInt64). [1] true_expected_count(type: DtFloat). [2] sampled_expected_count(type: DtFloat).
See Also