MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / restore

Method restore

modelzoo/features/multihash_variable/dien/script/model.py:364–367  ·  view source on GitHub ↗
(self, sess, path)

Source from the content-addressed store, hash-verified

362 d_cat.to_csv("cat_freq.csv", index=False, sep=',')
363
364 def restore(self, sess, path):
365 saver = tf.train.Saver()
366 saver.restore(sess, save_path=path)
367 print('model restored from %s' % path)
368
369
370class Model_DIN_V2_Gru_Vec_attGru_Neg(Model):

Callers 1

testFunction · 0.45

Calls 1

restoreMethod · 0.95

Tested by

no test coverage detected