清洁器
- class Cleaner[source]
基础类:
object一种清理方法,用于确保所有实体都包含在第一个分割部分的三元组中。
方法总结
__call__(triples_groups, random_state)清理与第一个数组相关的三元组数组列表。
cleanup_pair(reference, other, random_state)清理一组三元组相对于参考集。
方法文档
- __call__(triples_groups: Sequence[Tensor], random_state: None | int | Generator) Sequence[Tensor][源代码]
清理与第一个数组相关的三元组数组列表。