import tensorflow as tf


"""Implements a trivial learning schedule with a fixed learning rate."""
class ConstantSchedule(object):
    def __init__(self, learning_rate):
        self._learning_rate = tf.constant(learning_rate)

    @property
    def learning_rate(self):
        return self._learning_rate

import tensorflow as tf


"""Implements a trivial learning schedule with a fixed learning rate."""
class ConstantSchedule(object):
    def __init__(self, learning_rate):
        self._learning_rate = tf.constant(learning_rate)

    @property
    def learning_rate(self):
        return self._learning_rate

Implements a trivial learning schedule with a fixed learning rate.