(parameters)
| 292 | }] |
| 293 | |
| 294 | def build_graph(parameters): |
| 295 | input_tensor = tf.placeholder( |
| 296 | dtype=tf.float32, name="input", shape=parameters["input_shape"]) |
| 297 | filter_value = tf.zeros((3, 3, TEST_INPUT_DEPTH, 8), tf.float32) |
| 298 | assert_op = tf.assert_greater_equal(input_tensor, input_tensor - 1) |
| 299 | with tf.control_dependencies([assert_op]): |
| 300 | out = tf.nn.conv2d(input_tensor, filter_value, |
| 301 | strides=(1, 1, 1, 1), padding="SAME") |
| 302 | return [input_tensor], [out] |
| 303 | |
| 304 | def build_inputs(parameters, sess, inputs, outputs): |
| 305 | input_values = create_tensor_data(tf.float32, parameters["input_shape"]) |
nothing calls this directly
no test coverage detected