Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for keys (0.18 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/checkpoint_reader.cc

        if (filtered_keys.count(string(v2_reader_->key())) > 0) continue;
        CHECK(entry.ParseFromArray(v2_reader_->value().data(),
                                   v2_reader_->value().size()))
            << entry.InitializationErrorString();
        string key(v2_reader_->key());
        (*var_to_shape_map)[key] = TensorShape(entry.shape());
        (*var_to_data_type_map)[key] = DataType(entry.dtype());
      }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Aug 25 21:29:12 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc

      env->SetNowSeconds(3);
      int value = 0;
      EXPECT_TRUE(cache.Lookup(key, &value));
      EXPECT_EQ(value, 42);
      // 2 seconds after the most recent insertion, the entry is no longer valid.
      env->SetNowSeconds(4);
      EXPECT_FALSE(cache.Lookup(key, &value));
      // Re-insert the entry.
      cache.Insert(key, 43);
      EXPECT_TRUE(cache.Lookup(key, &value));
      EXPECT_EQ(value, 43);
      // The entry is valid 1 second after the insertion...
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 7.1K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_test.cc

      //  Worker1:
      //  cluster { job { name: "client" tasks { key: 0 value: "localhost:14525" } }
      //            job { name: "worker" tasks { key: 1 value: "localhost:14523" } }
      //          } job_name: "worker" task_index: 1 protocol: "grpc"
      //
      //  Worker0:
      //  cluster { job { name: "client" tasks { key: 0 value: "localhost:14526" } }
      //            job { name: "worker" tasks { key: 0 value: "localhost:14522" } }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  10. 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)
Back to top