Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for key3 (2.33 sec)

  1. tensorflow/c/c_api.cc

      }
    
      // Populate missing unused map keys
      DCHECK(tf_results->missing_unused_key_names.empty());
      DCHECK(tf_results->missing_unused_key_indexes.empty());
      DCHECK(tf_results->missing_unused_key_names_data.empty());
    
      size_t size = results.missing_unused_input_map_keys.size();
      tf_results->missing_unused_key_names.resize(size);
      tf_results->missing_unused_key_indexes.resize(size);
    
    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/eager/c_api_unified_experimental.cc

      if (entry != GetFactories().end()) {
        default_factory = GetFactories().find(name)->second;
        return absl::OkStatus();
      }
      string msg = absl::StrCat(
          "No tracing engine factory has been registered with the key '", name,
          "' (available: ");
      // Ensure deterministic (sorted) order in the error message
      std::set<string> factories_sorted;
      for (const auto& factory : GetFactories())
        factories_sorted.insert(factory.first);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/next_pluggable_device/c_api.cc

    }
    
    TF_Buffer* TF_CoordinationServiceGetKeyValue(const char* key, int64_t key_size,
                                                 TF_CoordinationServiceAgent* agent,
                                                 TF_Status* status) {
      auto* cc_agent = reinterpret_cast<tsl::CoordinationServiceAgent*>(agent);
      auto value = cc_agent->GetKeyValue(std::string_view(key, key_size));
      return ProcessGetKeyValueResult(value, status);
    }
    
    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)
  4. tensorflow/c/eager/c_api_distributed_test.cc

          "      attr {"
          "        key: 'dtype'"
          "        value {"
          "          type: DT_FLOAT"
          "        }"
          "      }"
          "    }"
          "    node_def {"
          "      name: 'read1'"
          "      op: 'ReadVariableOp'"
          "      input: 'var'"
          "      device: '/job:localhost/replica:0/task:1/device:CPU:0'"
          "      attr {"
          "        key: 'dtype'"
          "        value {"
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  5. tensorflow/c/eager/parallel_device/parallel_device_test.cc

      TFE_OpSetAttrType(op.get(), "T", TFE_TensorHandleDataType(input));
      TFE_OpSetAttrInt(op.get(), "group_size", group_size);
      TFE_OpSetAttrInt(op.get(), "group_key", 0);
      TFE_OpSetAttrInt(op.get(), "instance_key", 0);
      const std::string merge_op("Add");
      TFE_OpSetAttrString(op.get(), "merge_op", merge_op.c_str(),
                          merge_op.length());
      const std::string final_op("Id");
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 29.3K bytes
    - Viewed (1)
  6. tensorflow/c/eager/c_api_experimental.cc

        status->status = tensorflow::errors::FailedPrecondition(
            "Coordination service agent is not enabled.");
        return;
      }
      status->status = coord_agent->InsertKeyValue(key, value);
    }
    
    void TFE_GetConfigKeyValue(TFE_Context* ctx, const char* key,
                               int64_t timeout_in_ms, TF_Buffer* value_buf,
                               TF_Status* status) {
      tensorflow::ImmediateExecutionDistributedManager* dist_mgr =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  7. tensorflow/c/eager/c_api_remote_test_util.cc

                       matmul_device, "'",
                       "      attr {"
                       "        key: 'T'"
                       "        value {"
                       "          type: DT_FLOAT"
                       "        }"
                       "      }"
                       "    }"
                       "    ret {"
                       "      key: 'm'"
                       "      value: 'matmul:product'"
                       "    }"),
          &def));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 22:56:03 GMT 2020
    - 9.1K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_experimental_test.cc

    namespace tensorflow {
    namespace {
    
    TEST(CAPI_EXPERIMENTAL, GetServerDefTest) {
      const string expected_text_proto(R"(cluster {
      job {
        name: "worker"
        tasks {
          key: 0
          value: "tpuserver:0"
        }
        tasks {
          key: 1
          value: "localhost:1"
        }
      }
    }
    job_name: "worker"
    task_index: 1
    protocol: "grpc"
    )");
    
      TF_Status* status = TF_NewStatus();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
  9. tensorflow/c/eager/c_api_test_util.cc

      TF_DeleteStatus(status);
    
      TFE_OpSetAttrType(op, "T", TFE_TensorHandleDataType(in));
      TFE_OpSetAttrInt(op, "group_size", group_size);
      TFE_OpSetAttrInt(op, "group_key", 123);
      TFE_OpSetAttrInt(op, "instance_key", 456);
      TFE_OpSetAttrString(op, "merge_op", "Add", 3);
      TFE_OpSetAttrString(op, "final_op", "Id", 2);
      std::vector<int64_t> subdiv_offsets;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

        TF_SetStatus(status, TF_ALREADY_EXISTS, path);
    }
    
    // TODO(vnvo2409): `RecursivelyCreateDir` should use `CreateDir` instead of the
    // default implementation. Because we could create an empty object whose
    // key is equal to the `path` and Google Cloud Console will automatically
    // display it as a directory tree.
    
    void DeleteFile(const TF_Filesystem* filesystem, const char* path,
                    TF_Status* status) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
Back to top