         }
     }
 
-    if let value = getenv("SWIFT_TENSORFLOW_RUN_METADATA_OUTPUT") {
-        let path = String(cString: value)
-        _RuntimeConfig.runMetadataOutputPath = path
-        debugLog("Setting run metadata output path to \(path) from env.")
-    }
-
     if let value = getenv("SWIFT_TENSORFLOW_CPU_DEVICE_COUNT") {
         guard let cpuDeviceCount = UInt32(String(cString: value)) else {
             fatalError("SWIFT_TENSORFLOW_CPU_DEVICE_COUNT must take an int value.")


    /// The number of CPU devices.
    static public var cpuDeviceCount: UInt32 = 1

    /// When non-nil, run metadata (with full trace) of each session execution will be dumped to the
    /// give path.
    static public var runMetadataOutputPath: String? = nil

    /// Specifies whether the TensorFlow computation runs in a local (in-process) session, or a
    /// remote session with the specified server definition.

#endif
import CTensorFlow

/// The configuration for the compiler runtime.
// TODO(hongm): Revisit the longer-term design.
// @_frozen // SR-9739
public enum _RuntimeConfig {
    // TODO: change this and subsequent properties from static to thread local.
    /// When false, tensorflow runtime will be initialized before running any tensor program in this
    /// process.
    static public var tensorFlowRuntimeInitialized = false
