This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 | |
# | |
# Copyright © 2019 Pi-Yueh Chuang <pychuang@gwu.edu> | |
# | |
# Distributed under terms of the MIT license. | |
"""An example of using tfp.optimizer.lbfgs_minimize to optimize a TensorFlow model. |