- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for Updated (0.17 sec)
-
tensorflow/c/eager/immediate_execution_tensor_handle.cc
} Status ImmediateExecutionTensorHandle::SummarizeValue( std::string& summary) const { Status status; AbstractTensorPtr resolved( // TODO(allenl): Resolve should be const, and the caches that get updated // marked mutable. const_cast<ImmediateExecutionTensorHandle*>(this)->Resolve(&status)); if (!status.ok()) { return status; } summary = resolved->SummarizeValue(); return absl::OkStatus();
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 2.1K bytes - Viewed (0) -
tensorflow/c/c_api.cc
"ApiDefMap is not supported on mobile."); return nullptr; #else mutex_lock l(api_def_map->lock); if (!api_def_map->update_docs_called) { api_def_map->api_def_map.UpdateDocs(); api_def_map->update_docs_called = true; } string name_str(name, name_len); const auto* api_def = api_def_map->api_def_map.GetApiDef(name_str); if (api_def == nullptr) {
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_cluster_test.cc
worker_server.release(); // Update the server def with a new set of names (worker instead of // localhost). tensorflow::ServerDef updated_server_def = GetServerDef("worker", 2); serialized = updated_server_def.SerializeAsString(); updated_server_def.set_task_index(1); tensorflow::Status s = tensorflow::GrpcServer::Create( updated_server_def, tensorflow::Env::Default(), &worker_server);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Apr 14 10:03:59 GMT 2023 - 19.3K bytes - Viewed (0) -
tensorflow/c/eager/gradients.cc
output_gradients, result, /*build_default_zeros_grads*/ false)); return absl::OkStatus(); } // Helper functions which delegate to `AbstractOperation`, update // the state of the ForwardOperation and call the tape as appropriate. // These APIs are mainly to facilitate testing and are subject to change. namespace internal { Status Reset(AbstractOperation* op_, const char* op,
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 19.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_distributed_test.cc
tensorflow::FunctionLibraryDefinition* flib_def, std::vector<std::string>* control_ret_node_names, bool* control_rets_updated) override { // Inject failure to function instantiation if finding a node that contains // the given node name (error_node_) and requested device (error_device_). for (const auto node : graph->get()->nodes()) {
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 23.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_test.cc
ASSERT_TRUE(worker_server1->Start().ok()); // 5a. Update `ctx_0` with updated `server_def_0`. { server_def_0.set_task_index(0); string serialized_update = server_def_0.SerializeAsString(); TF_Status* status = TF_NewStatus(); TFE_ContextUpdateServerDefWithTimeout(ctx_0, 0, serialized_update.data(), serialized_update.size(),
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 03:14:26 GMT 2023 - 31.5K bytes - Viewed (1) -
tensorflow/c/c_api_experimental.cc
if (!status->status.ok()) return; input_tensors_vector[i] = &input_tensor; } } // Create an inference context with dummy values, which will be updated later. InferenceContext c(TF_GRAPH_DEF_VERSION, node_def, op_reg_data->op_def, std::vector<ShapeHandle>(num_inputs), input_tensors_vector, {},
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
ASSERT_TRUE(worker_server1->Start().ok()); // 5a. Update `ctx_0` with updated `server_def_0`. { server_def_0.set_task_index(0); string serialized_update = server_def_0.SerializeAsString(); TF_Status* status = TF_NewStatus(); TFE_ContextUpdateServerDef(ctx_0, 0, serialized_update.data(), serialized_update.size(), status);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
} else { // Remove the stale block and continue. RemoveFile_Locked(key.first); } } // Insert a new empty block, setting the bookkeeping to sentinel values // in order to update them as appropriate. auto new_entry = std::make_shared<Block>(); lru_list_.push_front(key); lra_list_.push_front(key); new_entry->lru_iterator = lru_list_.begin(); new_entry->lra_iterator = lra_list_.begin();
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) -
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc
tf_gcs_filesystem::ExpiringLRUCache<int> cache( 1, 0, [&env]() { return env->NowSeconds(); }); env->SetNowSeconds(1); // Verify that replacement of an existing element works, and updates the // timestamp of the entry. cache.Insert(key, 41); env->SetNowSeconds(2); cache.Insert(key, 42); // 1 second after the most recent insertion, the entry is still valid. env->SetNowSeconds(3);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 19:31:22 GMT 2020 - 7.1K bytes - Viewed (0)