nas-search/search_main.py
def lite_image_serving_input_fn():
    """serving input fn for raw images."""
    input_shape = [1, FLAGS.input_image_size, FLAGS.input_image_size, 3]
    images = tf.placeholder(shape=input_shape, dtype=tf.float32)
    return tf.estimator.export.ServingInputReceiver(images, {'images': images})
serving input fn for raw images.
serving input fn for raw images.
serving input fn for raw images .
def lite_image_serving_input_fn():
    input_shape = [1, FLAGS.input_image_size, FLAGS.input_image_size, 3]
    images = tf.placeholder(shape=input_shape, dtype=tf.float32)
    return tf.estimator.export.ServingInputReceiver(images, {'images': images})
def lite_image_serving_input_fn ( ) : input_shape = [ 1 , FLAGS . input_image_size , FLAGS . input_image_size , 3 ] images = tf . placeholder ( shape = input_shape , dtype = tf . float32 ) return tf . estimator . export . ServingInputReceiver ( images , { 'images' : images } )
serving input fn for raw images.
serving input fn for raw images .
"""serving input fn for raw images."""