()
| 133 | """ |
| 134 | # Module function that doubles its input. |
| 135 | def double_module_fn(): |
| 136 | w = tf.Variable([2.0, 4.0]) |
| 137 | x = tf.compat.v1.placeholder(dtype=tf.float32) |
| 138 | hub.add_signature(inputs=x, outputs=x*w) |
| 139 | graph = tf.Graph() |
| 140 | with graph.as_default(): |
| 141 | spec = hub.create_module_spec(double_module_fn) |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…