MCPcopy Index your code
hub / github.com/lazyprogrammer/machine_learning_examples / predict

Method predict

cnn_class2/tf_resnet.py:185–190  ·  view source on GitHub ↗
(self, X)

Source from the content-addressed store, hash-verified

183 return X
184
185 def predict(self, X):
186 assert(self.session is not None)
187 return self.session.run(
188 self.output,
189 feed_dict={self.input_: X}
190 )
191
192 def set_session(self, session):
193 self.session = session

Callers 9

style_transfer2.pyFile · 0.45
get_confusion_matrixFunction · 0.45
get_confusion_matrixFunction · 0.45
style_transfer1.pyFile · 0.45
get_train_accuracyFunction · 0.45
get_test_accuracyFunction · 0.45
tf_resnet.pyFile · 0.45
style_transfer3.pyFile · 0.45

Calls 1

runMethod · 0.45

Tested by

no test coverage detected