Number of unique elements along last dimension of input set
.
tf.raw_ops.SetSize(
set_indices, set_values, set_shape, validate_indices=True, name=None
)
Input set
is a SparseTensor
represented by set_indices
, set_values
,
and set_shape
. The last dimension contains values in a set, duplicates are
allowed but ignored.
If validate_indices
is True
, this op validates the order and range of set
indices. Setting is to False
while passing invalid arguments results in
undefined behavior.
Returns | |
---|---|
A Tensor of type int32 .
|