class UMAPLayertfkeraslayersLayer def __init__self kwargs superUMAPLayer self__init__kwargs def callself inputs # 使用tfpy_function将umap_func包装成TensorFlow操作 embedding = tfpy_f
这个错误可能是因为在调用umap_func函数时返回了一个元组对象,而不是一个TensorFlow层对象。请确保umap_func返回一个TensorFlow层对象。
原文地址: https://www.cveoy.top/t/topic/bK6d 著作权归作者所有。请勿转载和采集!