You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using System;
- using System.Collections.Generic;
- using System.Text;
-
- namespace Tensorflow.Train
- {
- public class SessionRunContext
- {
- SessionRunArgs _original_args;
- public SessionRunArgs original_args => _original_args;
-
- Session _session;
- public Session session => _session;
-
- bool _stop_requested;
- public bool stop_requested => _stop_requested;
-
- public SessionRunContext(SessionRunArgs original_args, Session session)
- {
- _original_args = original_args;
- _session = session;
- _stop_requested = false;
- }
-
- public void request_stop()
- {
- _stop_requested = true;
- }
- }
- }
|