mindspore.Tensor.random_categorical
- mindspore.Tensor.random_categorical(num_sample, seed=0, dtype=mstype.int64)[源代码]
详情请参考
mindspore.ops.random_categorical()。警告
该接口已废弃,2.9.0(不含)之后版本将删除。
详情请参考 mindspore.ops.random_categorical()。
警告
该接口已废弃,2.9.0(不含)之后版本将删除。