Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for virs (0.15 sec)

  1. 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)
  2. 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)
  3. tensorflow/api_template_v1.__init__.py

    # Get sitepackages directories for the python installation.
    _site_packages_dirs = []
    _site_packages_dirs += [] if _site.USER_SITE is None else [_site.USER_SITE]
    _site_packages_dirs += [p for p in _sys.path if "site-packages" in p]
    if "getsitepackages" in dir(_site):
      _site_packages_dirs += _site.getsitepackages()
    
    if "sysconfig" in dir(_distutils):
      _site_packages_dirs += [_distutils.sysconfig.get_python_lib()]
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  4. tensorflow/api_template.__init__.py

    _site_packages_dirs = []
    if _site.ENABLE_USER_SITE and _site.USER_SITE is not None:
      _site_packages_dirs += [_site.USER_SITE]
    _site_packages_dirs += [p for p in _sys.path if "site-packages" in p]
    if "getsitepackages" in dir(_site):
      _site_packages_dirs += _site.getsitepackages()
    
    if "sysconfig" in dir(_distutils):
      _site_packages_dirs += [_distutils.sysconfig.get_python_lib()]
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 05 06:27:59 GMT 2024
    - 6.7K bytes
    - Viewed (3)
  5. ci/official/README.md

    #   of these env files.
    #
    #   If you've clicked on a test result from our CI (via a dashboard or GitHub link),
    #   click to "Invocation Details" and find BUILD_CONFIG, which will contain a TFCI
    #   value in the "env_vars" list that you can choose to copy that environment.
    #      Ex. 1: TFCI=py311,linux_x86_cuda,nightly_upload  (nightly job)
    #      Ex. 2: TFCI=py39,linux_x86,rbe                   (continuous job)
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/c/experimental/next_pluggable_device/c_api.h

    TF_CAPI_EXPORT extern TF_VariableInfo* TF_CreateVariableInfoFromContext(
        TF_OpKernelContext* ctx, int index, TF_Status* status);
    
    TF_CAPI_EXPORT extern void TF_LockVariableInfos(TF_VariableInfo** vars,
                                                    int num_vars,
                                                    TF_Status* status);
    
    TF_CAPI_EXPORT extern void TF_AllocateTempForVariableInfo(
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Dec 20 20:01:06 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  8. 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)
  9. tensorflow/c/experimental/filesystem/modular_filesystem.h

      Status DeleteRecursively(const std::string& dirname, TransactionToken* token,
                               int64_t* undeleted_files,
                               int64_t* undeleted_dirs) override;
      Status DeleteDir(const std::string& dirname,
                       TransactionToken* token) override;
      Status RecursivelyCreateDir(const std::string& dirname,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/filesystem_interface.h

      /// and `*undeleted_dirs` must be 0. On unsuccessful deletion, `status` must
      /// be set to the reason why one entry couldn't be removed and the proper
      /// count must be updated. If the deletion is unsuccessful because the
      /// traversal couldn't start, `*undeleted_files` must be set to 0 and
      /// `*undeleted_dirs` must be set to 1.
      ///
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
Back to top