昇腾社区首页
中文
注册

get_ascend_global_hashtable_collection

功能描述

获取哈希表的集合。

函数原型

def get_ascend_global_hashtable_collection()

返回值说明

  • 成功:返回哈希表集合。
  • 失败:抛出异常。

使用示例

import tensorflow as tf
from mx_rec.util.initialize import get_ascend_global_hashtable_collection

sparse_variables = tf.compat.v1.get_collection(get_ascend_global_hashtable_collection())