eager: Rename in_eager_mode to executing_eagerly and get rid of in_graph_mode.
authorAsim Shankar <ashankar@google.com>
Wed, 7 Mar 2018 20:03:56 +0000 (12:03 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Wed, 7 Mar 2018 20:10:42 +0000 (12:10 -0800)
commit37cef895bfe06913477b87917cbee7284aefa7cd
tree4f05a013578c0459a52fc5e6448bb3dfc2d04971
parent808b569e85df8d63590740f05bc14d964efc4801
eager: Rename in_eager_mode to executing_eagerly and get rid of in_graph_mode.

This is in preparation to introduce one public, stable symbol: tf.executing_eagerly()
(i.e., part of moving APIs related to eager execution from "contrib" to a namespace
where we provide API stability guarantees)

PiperOrigin-RevId: 188212646
110 files changed:
tensorflow/contrib/data/python/ops/threadpool.py
tensorflow/contrib/eager/python/checkpointable_utils.py
tensorflow/contrib/eager/python/checkpointable_utils_test.py
tensorflow/contrib/eager/python/datasets.py
tensorflow/contrib/eager/python/evaluator.py
tensorflow/contrib/eager/python/metrics_impl.py
tensorflow/contrib/eager/python/network.py
tensorflow/contrib/eager/python/saver.py
tensorflow/contrib/eager/python/tfe.py
tensorflow/contrib/eager/python/tfe_test.py
tensorflow/contrib/framework/python/ops/critical_section_ops.py
tensorflow/contrib/layers/python/layers/layers.py
tensorflow/contrib/metrics/python/ops/metric_ops.py
tensorflow/contrib/nccl/python/ops/nccl_ops.py
tensorflow/contrib/opt/python/training/addsign_test.py
tensorflow/contrib/opt/python/training/powersign_test.py
tensorflow/contrib/rnn/python/kernel_tests/core_rnn_test.py
tensorflow/contrib/summary/summary_ops.py
tensorflow/python/data/ops/dataset_ops.py
tensorflow/python/data/util/random_seed_test.py
tensorflow/python/eager/benchmarks_test.py
tensorflow/python/eager/context.py
tensorflow/python/eager/core_test.py
tensorflow/python/eager/function.py
tensorflow/python/eager/graph_callable.py
tensorflow/python/eager/python_eager_op_gen.cc
tensorflow/python/eager/pywrap_tfe_test.py
tensorflow/python/estimator/estimator.py
tensorflow/python/framework/constant_op.py
tensorflow/python/framework/function.py
tensorflow/python/framework/meta_graph.py
tensorflow/python/framework/ops.py
tensorflow/python/framework/ops_test.py
tensorflow/python/framework/random_seed.py
tensorflow/python/framework/random_seed_test.py
tensorflow/python/framework/tensor_util.py
tensorflow/python/framework/test_util.py
tensorflow/python/keras/_impl/keras/backend.py
tensorflow/python/keras/_impl/keras/engine/base_layer.py
tensorflow/python/keras/_impl/keras/engine/input_layer.py
tensorflow/python/keras/_impl/keras/engine/network.py
tensorflow/python/keras/_impl/keras/engine/topology_test.py
tensorflow/python/keras/_impl/keras/engine/training.py
tensorflow/python/keras/_impl/keras/layers/convolutional_test.py
tensorflow/python/keras/_impl/keras/layers/core.py
tensorflow/python/keras/_impl/keras/layers/normalization.py
tensorflow/python/keras/_impl/keras/layers/pooling_test.py
tensorflow/python/keras/_impl/keras/layers/recurrent.py
tensorflow/python/kernel_tests/atrous_convolution_test.py
tensorflow/python/kernel_tests/check_ops_test.py
tensorflow/python/kernel_tests/py_func_test.py
tensorflow/python/kernel_tests/resource_variable_ops_test.py
tensorflow/python/kernel_tests/rnn_test.py
tensorflow/python/kernel_tests/slice_op_test.py
tensorflow/python/kernel_tests/template_test.py
tensorflow/python/kernel_tests/tensor_array_ops_test.py
tensorflow/python/kernel_tests/variable_scope_test.py
tensorflow/python/layers/base.py
tensorflow/python/layers/base_test.py
tensorflow/python/layers/convolutional.py
tensorflow/python/layers/core.py
tensorflow/python/layers/core_test.py
tensorflow/python/layers/normalization.py
tensorflow/python/ops/array_grad.py
tensorflow/python/ops/array_ops.py
tensorflow/python/ops/check_ops.py
tensorflow/python/ops/control_flow_ops.py
tensorflow/python/ops/custom_gradient.py
tensorflow/python/ops/data_flow_ops.py
tensorflow/python/ops/functional_ops.py
tensorflow/python/ops/gradients_impl.py
tensorflow/python/ops/io_ops.py
tensorflow/python/ops/lookup_ops.py
tensorflow/python/ops/losses/losses_impl.py
tensorflow/python/ops/math_grad.py
tensorflow/python/ops/math_ops.py
tensorflow/python/ops/math_ops_test.py
tensorflow/python/ops/metrics_impl.py
tensorflow/python/ops/nn_grad.py
tensorflow/python/ops/nn_ops.py
tensorflow/python/ops/numerics.py
tensorflow/python/ops/resource_variable_ops.py
tensorflow/python/ops/rnn.py
tensorflow/python/ops/rnn_cell_impl.py
tensorflow/python/ops/script_ops.py
tensorflow/python/ops/state_ops.py
tensorflow/python/ops/template.py
tensorflow/python/ops/tensor_array_ops.py
tensorflow/python/ops/variable_scope.py
tensorflow/python/ops/variables.py
tensorflow/python/profiler/model_analyzer.py
tensorflow/python/profiler/tfprof_logger.py
tensorflow/python/summary/summary.py
tensorflow/python/summary/writer/writer.py
tensorflow/python/training/adam.py
tensorflow/python/training/adam_test.py
tensorflow/python/training/checkpointable.py
tensorflow/python/training/gradient_descent.py
tensorflow/python/training/input.py
tensorflow/python/training/learning_rate_decay_test.py
tensorflow/python/training/momentum_test.py
tensorflow/python/training/optimizer.py
tensorflow/python/training/queue_runner_impl.py
tensorflow/python/training/saver.py
tensorflow/python/training/saver_test.py
tensorflow/python/training/saver_test_utils.py
tensorflow/python/training/slot_creator.py
tensorflow/python/training/supervisor.py
tensorflow/python/training/training_util.py
tensorflow/python/util/tf_should_use.py