Python networks._last_conv_layer() Examples

The following are 5 code examples of networks._last_conv_layer(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module networks , or try the search function .
Example #1
Source File: networks_test.py    From yolo_v2 with Apache License 2.0 5 votes vote down vote up
def test_last_conv_layer(self):
    x = tf.constant(1.0)
    y = tf.constant(0.0)
    end_points = {
        'silly': y,
        'conv2': y,
        'conv4': x,
        'logits': y,
        'conv-1': y,
    }
    self.assertEqual(x, networks._last_conv_layer(end_points)) 
Example #2
Source File: networks_test.py    From Gun-Detector with Apache License 2.0 5 votes vote down vote up
def test_last_conv_layer(self):
    x = tf.constant(1.0)
    y = tf.constant(0.0)
    end_points = {
        'silly': y,
        'conv2': y,
        'conv4': x,
        'logits': y,
        'conv-1': y,
    }
    self.assertEqual(x, networks._last_conv_layer(end_points)) 
Example #3
Source File: networks_test.py    From object_detection_with_tensorflow with MIT License 5 votes vote down vote up
def test_last_conv_layer(self):
    x = tf.constant(1.0)
    y = tf.constant(0.0)
    end_points = {
        'silly': y,
        'conv2': y,
        'conv4': x,
        'logits': y,
        'conv-1': y,
    }
    self.assertEqual(x, networks._last_conv_layer(end_points)) 
Example #4
Source File: networks_test.py    From g-tensorflow-models with Apache License 2.0 5 votes vote down vote up
def test_last_conv_layer(self):
    x = tf.constant(1.0)
    y = tf.constant(0.0)
    end_points = {
        'silly': y,
        'conv2': y,
        'conv4': x,
        'logits': y,
        'conv-1': y,
    }
    self.assertEqual(x, networks._last_conv_layer(end_points)) 
Example #5
Source File: networks_test.py    From multilabel-image-classification-tensorflow with MIT License 5 votes vote down vote up
def test_last_conv_layer(self):
    x = tf.constant(1.0)
    y = tf.constant(0.0)
    end_points = {
        'silly': y,
        'conv2': y,
        'conv4': x,
        'logits': y,
        'conv-1': y,
    }
    self.assertEqual(x, networks._last_conv_layer(end_points))