Skip to content

Running Graphs

[TOC]

This library contains classes for launching graphs and executing operations.

This guide has examples of how a graph is launched in a tf.Session.

Session management

  • tf.Session
  • tf.InteractiveSession
  • tf.get_default_session

Error classes and convenience functions

  • tf.OpError
  • tf.errors.CancelledError
  • tf.errors.UnknownError
  • tf.errors.InvalidArgumentError
  • tf.errors.DeadlineExceededError
  • tf.errors.NotFoundError
  • tf.errors.AlreadyExistsError
  • tf.errors.PermissionDeniedError
  • tf.errors.UnauthenticatedError
  • tf.errors.ResourceExhaustedError
  • tf.errors.FailedPreconditionError
  • tf.errors.AbortedError
  • tf.errors.OutOfRangeError
  • tf.errors.UnimplementedError
  • tf.errors.InternalError
  • tf.errors.UnavailableError
  • tf.errors.DataLossError
  • tf.errors.exception_type_from_error_code
  • tf.errors.error_code_from_exception_type
  • tf.errors.raise_exception_on_not_ok_status

基于 MIT 许可发布 共建 共享 共管