Skip to content

[Embedding] Support print EmbeddingVariableOption. #260

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lixy9474
Copy link
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
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 的实现方法

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants