MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / make_variable

Method make_variable

tensorpack/models/models_test.py:24–28  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

22 return sess.run([x], feed_dict=feed_dict)[0]
23
24 def make_variable(self, *args):
25 if len(args) > 1:
26 return [tf.Variable(k) for k in args]
27 else:
28 return tf.Variable(args[0])
29
30
31class TestPool(TestModel):

Callers 2

test_FixedUnPoolingMethod · 0.80
test_shape_matchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected