Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for string (0.17 sec)

  1. tensorflow/c/c_api.cc

      // Convert from TF_Output and TF_Tensor to a string and Tensor.
      std::vector<std::pair<string, Tensor>> input_pairs(ninputs);
      if (!TF_Run_Inputs(input_values, &input_pairs, status)) return;
      for (int i = 0; i < ninputs; ++i) {
        input_pairs[i].first = OutputName(inputs[i]);
      }
    
      // Convert from TF_Output to string names.
      std::vector<string> output_names(noutputs);
      for (int i = 0; i < noutputs; ++i) {
    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)
  2. tensorflow/c/experimental/next_pluggable_device/c_api.cc

      auto* cc_agent = reinterpret_cast<tsl::CoordinationServiceAgent*>(agent);
      absl::Status cc_status = cc_agent->InsertKeyValue(
          std::string_view(key, key_size), std::string_view(value, value_size));
      status->status = cc_status;
    }
    
    TF_Buffer* ProcessGetKeyValueResult(absl::StatusOr<std::string> value,
                                        TF_Status* status) {
      status->status = value.status();
      if (!value.ok()) {
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
  3. tensorflow/c/eager/c_api.cc

    #include "tensorflow/core/public/version.h"
    
    #if !defined(IS_MOBILE_PLATFORM)
    #include "tensorflow/core/common_runtime/eager/context_distributed_manager.h"
    #endif  // !IS_MOBILE_PLATFORM
    
    using tensorflow::string;
    
    namespace {
    
    string DeviceName(const tensorflow::Device* d) {
      return (d == nullptr) ? "cpu:0" : d->name();
    }
    
    // Annotate eager runtime construction context to the given `function_def` as
    // an attribute.
    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)
Back to top