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

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