Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for virs (0.12 sec)

  1. tensorflow/c/c_api.cc

      if (!ValidateInputWhileParams(*params, status)) return;
    
      TF_Graph* parent = params->cond_graph->parent;
      TF_Output* parent_inputs = params->cond_graph->parent_inputs;
      int num_loop_vars = params->ninputs;
    
      mutex_lock l(parent->mu);
    
      // 'cond_fn' copies the cond graph into the parent graph.
      tensorflow::ops::CondGraphBuilderFn cond_fn =
    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/experimental/next_pluggable_device/c_api.cc

    }
    
    void TF_LockVariableInfos(TF_VariableInfo** vars, int num_vars,
                              TF_Status* status) {
      std::vector<tensorflow::VariableInfo*> variable_ptrs;
      variable_ptrs.reserve(num_vars);
      for (int i = 0; i < num_vars; ++i) {
        variable_ptrs.push_back(&(vars[i]->var_info));
      }
      absl::Status cc_status = LockVariables(absl::MakeSpan(variable_ptrs));
    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)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

                           TF_Status* status) {
      if (!undeleted_files || !undeleted_dirs)
        return TF_SetStatus(
            status, TF_INTERNAL,
            "'undeleted_files' and 'undeleted_dirs' cannot be nullptr.");
      *undeleted_files = 0;
      *undeleted_dirs = 0;
      if (!IsDirectory(filesystem, path, status)) {
        *undeleted_dirs = 1;
        return;
      }
    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)
  4. tensorflow/c/experimental/filesystem/modular_filesystem.cc

                                                int64_t* undeleted_dirs) {
      if (undeleted_files == nullptr || undeleted_dirs == nullptr)
        return errors::FailedPrecondition(
            "DeleteRecursively must not be called with `undeleted_files` or "
            "`undeleted_dirs` set to NULL");
    
      if (ops_->delete_recursively == nullptr)
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      int64_t undeleted_files = 0;
      int64_t undeleted_dirs = 0;
      status = env_->DeleteRecursively(dirpath, &undeleted_files, &undeleted_dirs);
      EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OK);
      EXPECT_EQ(undeleted_files, 0);
      EXPECT_EQ(undeleted_dirs, 0);
    }
    
    TEST_P(ModularFileSystemTest, TestDeleteRecursivelyNotEmpty) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
Back to top