Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/c/eager/c_api.h

    typedef struct TFE_TensorDebugInfo TFE_TensorDebugInfo;
    
    // Retrieves TFE_TensorDebugInfo for `handle`.
    // If TFE_TensorHandleTensorDebugInfo succeeds, `status` is set to OK and caller
    // is responsible for deleting returned TFE_TensorDebugInfo.
    // If TFE_TensorHandleTensorDebugInfo fails, `status` is set to appropriate
    // error and nullptr is returned. This function can block till the operation
    // that produces `handle` has completed.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  2. tensorflow/c/env.h

    // Deletes the specified directory and all subdirectories and files underneath
    // it. This is accomplished by traversing the directory tree rooted at dirname
    // and deleting entries as they are encountered.
    //
    // If dirname itself is not readable or does not exist, *undeleted_dir_count is
    // set to 1, *undeleted_file_count is set to 0 and an appropriate status (e.g.
    // TF_NOT_FOUND) is returned.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.h

    // * size_t is used to represent byte sizes of objects that are
    //   materialized in the address space of the calling process.
    // * int is used as an index into arrays.
    // * Deletion functions are safe to call on nullptr.
    //
    // Questions left to address:
    // * Might at some point need a way for callers to provide their own Env.
    // * Maybe add TF_TensorShape that encapsulates dimension info.
    //
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc

      int value = 0;
      EXPECT_TRUE(cache.Lookup("a", &value));
      EXPECT_EQ(value, 1);
    
      // Delete the entry.
      EXPECT_TRUE(cache.Delete("a"));
      EXPECT_FALSE(cache.Lookup("a", &value));
    
      // Try deleting the entry again.
      EXPECT_FALSE(cache.Delete("a"));
      EXPECT_FALSE(cache.Lookup("a", &value));
    }
    
    }  // namespace
    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)
  5. tensorflow/c/eager/tape.h

      std::vector<TapeTensor> output_tensor_info;
      std::vector<int64_t> input_tensor_id;
    
      // TODO(apassos) consider narrowing down this interface.
      BackwardFunction* backward_function;
    
      // Should be called before deleting the backward function. TODO(apassos) use
      // unique_ptrs to ensure this happens.
      std::function<void(BackwardFunction*)> backward_function_deleter;
    };
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  6. tensorflow/c/env_test.cc

            << dirpath;
    
        TF_DeleteFile(filepath.c_str(), s);
        ASSERT_TF_OK(s) << "TF_DeleteFile failed for " << filepath << ": "
                        << TF_Message(s);
    
        // Now deleting the directory should work.
        TF_DeleteDir(dirpath.c_str(), s);
        ASSERT_TF_OK(s) << "TF_DeleteDir failed for " << dirpath << ": "
                        << TF_Message(s);
    
        TF_DeleteStatus(s);
        break;
      }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Dec 10 20:52:48 GMT 2018
    - 4.2K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/grappler/grappler.h

    #define TP_OPTIMIZER_CONFIGS_STRUCT_SIZE \
      TF_OFFSET_OF_END(TP_OptimizerConfigs, scoped_allocator_optimization)
    
    // Struct for Optimizer. Plugin authors must provide an optimize function.
    // Creation and deletion functions are optional.
    typedef struct TP_Optimizer {
      size_t struct_size;
      void* ext;  // reserved for future use
    
      // [Optional]
      // Create function for optimizer.
      void* (*create_func)();
    
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/filesystem_interface.h

      /// This is accomplished by traversing directory tree rooted at `path` and
      /// deleting entries as they are encountered, from leaves to root. Each plugin
      /// is free to choose a different approach which obtains similar results.
      ///
      /// On successful deletion, `status` must be `TF_OK` and `*undeleted_files`
      /// and `*undeleted_dirs` must be 0. On unsuccessful deletion, `status` must
    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)
  9. tensorflow/c/eager/gradients.h

      // a trainable dtype.
      bool ShouldRecord(
          absl::Span<const AbstractTensorHandle* const> tensors) const;
      // Unwatches this tensor on the tape. Mainly used for cleanup when deleting
      // eager tensors.
      void DeleteTrace(const AbstractTensorHandle*);
    
      // Consumes the internal state of the tape (so cannot be called more than
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  10. RELEASE.md

        *   Modify custom export strategy to account for multidimensional sparse
            float splits.
        *   `Conv2D`, `Conv2DBackpropInput`, `Conv2DBackpropFilter` now supports
            arbitrary dilations with GPU and cuDNNv6 support.
        *   `Estimator` now supports `Dataset`: `input_fn` can return a `Dataset`
            instead of `Tensor`s.
        *   Add `RevBlock`, a memory-efficient implementation of reversible residual
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
Back to top