Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for key3 (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

        Key key = std::make_pair(filename, pos);
        // Look up the block, fetching and inserting it if necessary, and update the
        // LRU iterator for the key and block.
        std::shared_ptr<Block> block = Lookup(key);
        if (!block) {
          std::cerr << "No block for key " << key.first << "@" << key.second;
          abort();
        }
        MaybeFetch(key, block, status);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
Back to top