Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BuildDeviceManager (0.23 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/fake_session.cc

      // global initialization fiasco between tests and code in TF.
    }
    
    void FakeSession::Initialize() {
      if (initialized_) return;
      BuildDeviceManager();
      InitVariables();
      initialized_ = true;
    }
    
    void FakeSession::BuildDeviceManager() {
      auto device =
          tensorflow::DeviceFactory::NewDevice("CPU", {}, kDeviceNamePrefix);
      device_mgr_ =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top