Click or drag to resize

GraphThreadUnsafeUnigramCandidateSampler Method

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

Namespace:  Emgu.TF
Assembly:  Emgu.TF.Netstandard (in Emgu.TF.Netstandard.dll) Version: 2.6.0.1294
Syntax
public Operation ThreadUnsafeUnigramCandidateSampler(
	Output true_classes,
	long num_true,
	long num_sampled,
	bool unique,
	long range_max,
	long seed = 0,
	long seed2 = 0,
	string opName = "ThreadUnsafeUnigramCandidateSampler"
)

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
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