Example #1
0
        public bool executing_eagerly()
        {
            if (context_switches.Count() == 0)
            {
                tf.enable_eager_execution();
            }

            return(context_switches.Current().EagerMode);
        }
Example #2
0
 public bool executing_eagerly()
 => context_switches.Current().EagerMode;