Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chinawithfrank/ChatBotCourse
/ clear_word_vector
Method
clear_word_vector
tf_classify_demo/sample_data.py:90–95 ·
view source on GitHub ↗
清理点内存
(self)
Source
from the content-addressed store, hash-verified
88
self.maps.local_word_id_map = {}
89
90
def
clear_word_vector(self):
91
""
"
92
清理点内存
93
""
"
94
self.word_vector_dict.clear()
95
self.word_id_dict.clear()
96
97
@staticmethod
98
def
read_data_sets(file_name):
Callers
1
train
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected