Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Optional (0.14 sec)

  1. tensorflow/c/eager/c_api.cc

    void TFE_RegisterCustomDevice(TFE_Context* ctx, TFE_CustomDevice device,
                                  const char* device_name, void* device_info,
                                  TF_Status* status) {
      // Fill in default values for optional functionality.
      if (device.pack == nullptr) {
        device.pack = &DefaultCustomDevicePack;
      }
      auto custom_device = std::make_unique<tensorflow::CustomDeviceAPI>(
          ctx, device, device_info, device_name);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  2. tensorflow/c/c_api.cc

    ==============================================================================*/
    
    #include "tensorflow/c/c_api.h"
    
    #include <algorithm>
    #include <cstring>
    #include <limits>
    #include <memory>
    #include <optional>
    #include <unordered_set>
    #include <utility>
    #include <vector>
    
    #include "absl/strings/match.h"
    // Required for IS_MOBILE_PLATFORM
    #include "tensorflow/core/platform/platform.h"  // NOLINT
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
Back to top