Skip to content

[Embedding] Support print EmbeddingVariableOption. - #260

Open
lixy9474 wants to merge 1 commit into
DeepRec-AI:mainfrom
lixy9474:ev_option
Open

[Embedding] Support print EmbeddingVariableOption.#260
lixy9474 wants to merge 1 commit into
DeepRec-AI:mainfrom
lixy9474:ev_option

Conversation

@lixy9474

Copy link
Copy Markdown
Collaborator

No description provided.

name_dict[config_pb2.StorageType.DRAM_LEVELDB] = "DRAM_LEVELDB"
name_dict[config_pb2.StorageType.PMEM_MEMKIND] = "HBM_DRAM"
name_dict[config_pb2.StorageType.DRAM_SSDHASH] = "DRAM_SSDHASH"
name_dict[config_pb2.StorageType.DRAM_PMEM] = "DRAM_PMEM"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dict放到函数外面,别人也可以用
参考一下tf 的dtypes.py 中 _TYPE_TO_STRING 的实现方法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants