Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Updated (0.23 sec)

  1. 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 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  2. 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 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  3. 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 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  4. 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 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      stat->generation_number = metadata->generation();
      stat->base.length = metadata->size();
      stat->base.mtime_nsec =
          metadata->time_storage_class_updated().time_since_epoch().count();
      stat->base.is_directory = object.back() == '/';
      TF_VLog(1,
              "Stat of: gs://%s/%s --  length: %u generation: %u; mtime_nsec: %u;",
    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)
  6. 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 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  7. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

      // Validate and register all filesystems
      // Try to register as many filesystems as possible.
      // Free memory once we no longer need it
      Status status;
      for (int i = 0; i < info->num_schemes; i++) {
        status.Update(ValidateAndRegisterFilesystems(info, i));
        info->plugin_memory_free(info->ops[i].scheme);
        info->plugin_memory_free(info->ops[i].filesystem_ops);
        info->plugin_memory_free(info->ops[i].random_access_file_ops);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api.cc

        return;
      } else if (context->GetContextId() ==
                 tensorflow::EagerContext::kInvalidContextId) {
        status->status = tensorflow::errors::InvalidArgument(
            "Trying to update a context with invalid context id.");
      }
      status->status =
          tensorflow::unwrap(ctx)->GetDistributedManager()->SetOrUpdateServerDef(
              server_def, /*reset_context=*/false, keep_alive_secs,
    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)
  9. 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)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      // LRU element was at offset 0.  Cache miss.
      calls.push_back(0);
      TF_EXPECT_OK(ReadCache(&cache, "", 0, 1, &out));
      // Element at 2 * block_size is still in cache, and this read should update
      // its position in the LRU list so it doesn't get evicted by the next read.
      TF_EXPECT_OK(ReadCache(&cache, "", 2 * block_size, 1, &out));
      // Element at block_size was evicted.  Reading this element will also cause
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
Back to top