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.
| Args | |
|---|---|
| set_indices | A Tensorof typeint64.
2DTensor, indices of aSparseTensor. | 
| set_values | A Tensor. Must be one of the following types:int8,int16,int32,int64,uint8,uint16,string.
1DTensor, values of aSparseTensor. | 
| set_shape | A Tensorof typeint64.
1DTensor, shape of aSparseTensor. | 
| validate_indices | An optional bool. Defaults toTrue. | 
| name | A name for the operation (optional). | 
| Returns | |
|---|---|
| A Tensorof typeint32. |