package tensorboard

  1. Overview
  2. Docs

event.proto Types

Types

type log_message_level =
  1. | Unknown
  2. | Debugging
  3. | Info
  4. | Warn
  5. | Error
  6. | Fatal
type log_message = {
  1. level : log_message_level;
  2. message : string;
}
type session_log_session_status =
  1. | Status_unspecified
  2. | Start
  3. | Stop
  4. | Checkpoint
type session_log = {
  1. status : session_log_session_status;
  2. checkpoint_path : string;
  3. msg : string;
}
type tagged_run_metadata = {
  1. tag : string;
  2. run_metadata : bytes;
}
type event_what =
  1. | File_version of string
  2. | Graph_def of bytes
  3. | Summary of Summary_types.summary
  4. | Log_message of log_message
  5. | Session_log of session_log
  6. | Tagged_run_metadata of tagged_run_metadata
  7. | Meta_graph_def of bytes
and event = {
  1. wall_time : float;
  2. step : int64;
  3. what : event_what;
}
type worker_health =
  1. | Ok
  2. | Received_shutdown_signal
  3. | Internal_error
type worker_shutdown_mode =
  1. | Default
  2. | Shutdown_immediately
  3. | Wait_for_coordinator
type watchdog_config = {
  1. timeout_ms : int64;
}
type worker_heartbeat_request = {
  1. shutdown_mode : worker_shutdown_mode;
  2. watchdog_config : watchdog_config option;
}
type worker_heartbeat_response = {
  1. health_status : worker_health;
  2. worker_log : event list;
  3. hostname : string;
}

Default values

val default_log_message_level : unit -> log_message_level

default_log_message_level () is the default value for type log_message_level

val default_log_message : ?level:log_message_level -> ?message:string -> unit -> log_message

default_log_message () is the default value for type log_message

val default_session_log_session_status : unit -> session_log_session_status

default_session_log_session_status () is the default value for type session_log_session_status

val default_session_log : ?status:session_log_session_status -> ?checkpoint_path:string -> ?msg:string -> unit -> session_log

default_session_log () is the default value for type session_log

val default_tagged_run_metadata : ?tag:string -> ?run_metadata:bytes -> unit -> tagged_run_metadata

default_tagged_run_metadata () is the default value for type tagged_run_metadata

val default_event_what : unit -> event_what

default_event_what () is the default value for type event_what

val default_event : ?wall_time:float -> ?step:int64 -> ?what:event_what -> unit -> event

default_event () is the default value for type event

val default_worker_health : unit -> worker_health

default_worker_health () is the default value for type worker_health

val default_worker_shutdown_mode : unit -> worker_shutdown_mode

default_worker_shutdown_mode () is the default value for type worker_shutdown_mode

val default_watchdog_config : ?timeout_ms:int64 -> unit -> watchdog_config

default_watchdog_config () is the default value for type watchdog_config

val default_worker_heartbeat_request : ?shutdown_mode:worker_shutdown_mode -> ?watchdog_config:watchdog_config option -> unit -> worker_heartbeat_request

default_worker_heartbeat_request () is the default value for type worker_heartbeat_request

val default_worker_heartbeat_response : ?health_status:worker_health -> ?worker_log:event list -> ?hostname:string -> unit -> worker_heartbeat_response

default_worker_heartbeat_response () is the default value for type worker_heartbeat_response