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

Method set_session

cnn_class2/tf_resnet.py:192–198  ·  view source on GitHub ↗
(self, session)

Source from the content-addressed store, hash-verified

190 )
191
192 def set_session(self, session):
193 self.session = session
194 for layer in self.layers:
195 if isinstance(layer, ConvBlock) or isinstance(layer, IdentityBlock):
196 layer.set_session(session)
197 else:
198 layer.session = session
199
200 def get_params(self):
201 params = []

Callers 2

tf_resnet.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected