Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for parameters (0.18 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

          InsertLocked(key, *value);
        }
      }
    
      /// Clear the cache.
      void Clear() {
        absl::MutexLock lock(&mu_);
        cache_.clear();
        lru_list_.clear();
      }
    
      /// Accessors for cache parameters.
      uint64_t max_age() const { return max_age_; }
      size_t max_entries() const { return max_entries_; }
    
     private:
      struct Entry {
        /// The timestamp (seconds) at which the entry was added to the cache.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/gradient_checker.h

    #include "tensorflow/c/eager/unified_api_testutil.h"
    
    namespace tensorflow {
    namespace gradients {
    
    /* Returns numerical grad inside `dtheta_approx` given `forward` model and
     * parameter specified by `input_index`.
     *
     * I.e. if y = <output of the forward model> and w = inputs[input_index],
     * this will calculate dy/dw numerically.
     *
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 02:34:32 GMT 2020
    - 1.8K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_unified_experimental.h

    // Represents a (partially-defined) shape.
    typedef struct TF_Shape {
      int num_dims;  // Must be >= -1; -1 represents unknown rank.
      int64_t* dim_sizes;
    } TF_Shape;
    
    // Add a new parameter to a TensorFlow Function.
    TF_AbstractTensor* TF_AddFunctionParameter(TF_ExecutionContext* func,
                                               TF_DataType dtype, TF_Shape shape,
                                               TF_Status* s);
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.h

    // API for driving Graph execution.
    
    typedef struct TF_Session TF_Session;
    
    // Return a new execution session with the associated graph, or NULL on
    // error. Does not take ownership of any input parameters.
    //
    // *`graph` must be a valid graph (not deleted or nullptr). `graph` will be
    // kept alive for the lifetime of the returned TF_Session. New nodes can still
    // be added to `graph` after this call.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  5. tensorflow/c/eager/unified_api_testutil.h

    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    
    // Builds and returns a `TracingContext` using the default tracing impl.
    AbstractContext* BuildFunction(const char* fn_name);
    
    // Creates parameters (placeholders) in the tracing `ctx` using the shape and
    // dtype of `inputs`.
    Status CreateParamsForInputs(AbstractContext* ctx,
                                 absl::Span<AbstractTensorHandle* const> inputs,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 4K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      void RemoveFile(const std::string& filename) ABSL_LOCKS_EXCLUDED(mu_);
    
      /// Remove all cached data.
      void Flush() ABSL_LOCKS_EXCLUDED(mu_);
    
      /// Accessors for cache parameters.
      size_t block_size() const { return block_size_; }
      size_t max_bytes() const { return max_bytes_; }
      uint64_t max_staleness() const { return max_staleness_; }
    
      /// The current size (in bytes) of the cache.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:46:34 GMT 2020
    - 10.6K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_unified_experimental_internal.h

    class TracingContext : public AbstractContext {
     protected:
      explicit TracingContext(AbstractContextKind kind) : AbstractContext(kind) {}
    
     public:
      // Add a function parameter and return the corresponding tensor.
      virtual Status AddParameter(DataType dtype, const PartialTensorShape& shape,
                                  TracingTensorHandle**) = 0;
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 13 22:20:40 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/filesystem_interface.h

    /// input arguments, then the in-out arguments (if any) and we finish the
    /// argument list with the out arguments. We only use the return type for an out
    /// parameter if that is a plain C type, as this ensures ABI compatibility
    /// (returning structures has issues in case compiler options affect
    /// optimizations such as RVO). If a status needs to be returned from these
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
Back to top