MCPcopy
hub / github.com/MrNothing/AI-Blocks / TFInstance

Class TFInstance

Sources/build_scripts/global_functions.py:491–498  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

489
490
491class TFInstance:
492 def __init__(self, session, saver, save_path):
493 self.session = session
494 self.saver = saver
495 self.save_path = save_path
496
497 def Run(self, tensors, feed_dict):
498 return self.session.run(tensors, feed_dict=feed_dict)
499
500class AIBlocks:
501 def InitModel(load_path=""):

Callers 1

InitModelMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected