Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for loop (0.19 sec)

  1. tensorflow/c/c_api.h

      TF_Output cond_output;
    
      // The loop body graph. The inputs are the current values of the loop
      // variables. The outputs are the updated values of the loop variables.
      TF_Graph* const body_graph;
      const TF_Output* const body_inputs;
      TF_Output* const body_outputs;
    
      // Unique null-terminated name for this while loop. This is used as a prefix
      // for created operations.
      const char* name;
    } TF_WhileParams;
    
    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)
  2. tensorflow/c/eager/c_api.h

                                                            TF_Status* status);
    
    // Some TF ops need a step container to be set to limit the lifetime of some
    // resources (mostly TensorArray and Stack, used in while loop gradients in
    // graph mode). Calling this on a context tells it to start a step.
    TF_CAPI_EXPORT extern void TFE_ContextStartStep(TFE_Context* ctx);
    
    // Ends a step. When there is no active step (that is, every started step has
    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)
  3. tensorflow/c/c_api_internal.h

          TF_GUARDED_BY(mu);
      bool delete_requested TF_GUARDED_BY(mu);  // set true by TF_DeleteGraph
    
      // Used to link graphs contained in TF_WhileParams to the parent graph that
      // will eventually contain the full while loop.
      TF_Graph* parent;
      TF_Output* parent_inputs;
    };
    
    struct TF_OperationDescription {
      TF_OperationDescription(TF_Graph* g, const char* op_type,
                              const char* node_name)
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/grappler/grappler.h

      TF_TriState auto_mixed_precision_onednn_bfloat16;
      TF_TriState auto_mixed_precision_mkl;
      TF_TriState pin_to_host_optimization;
      TF_TriState layout_optimizer;
      TF_TriState remapping;
      TF_TriState loop_optimization;
      TF_TriState dependency_optimization;
      TF_TriState auto_parallel;
      TF_TriState memory_optimization;
      TF_TriState scoped_allocator_optimization;
    } TP_OptimizerConfigs;
    
    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)
  5. tensorflow/c/eager/tape.h

    // upstream gradients.
    //
    // TODO(apassos) provide concrete template instantiations for TFE_TensorHandle
    // specialization, which is blocked by quite a few things needing to loop back
    // into python now.
    template <typename Gradient, typename BackwardFunction, typename TapeTensor>
    class VSpace {
     public:
      virtual ~VSpace() {}
    
      // Returns the number of elements in the gradient tensor.
    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/experimental/filesystem/plugins/posix/posix_filesystem.h

    #include "tensorflow/c/experimental/filesystem/filesystem_interface.h"
    
    // Initialize the POSIX filesystem.
    //
    // In general, the `TF_InitPlugin` symbol doesn't need to be exposed in a header
    // file, since the plugin registration will look for the symbol in the DSO file
    // that provides the filesystem functionality. However, the POSIX filesystem
    // needs to be statically registered in some tests and utilities for building
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Mar 20 16:42:12 GMT 2020
    - 1.5K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

      // with key `key` existed after the call.
      bool Delete(const std::string& key) {
        absl::MutexLock lock(&mu_);
        return DeleteLocked(key);
      }
    
      /// Look up the entry with key `key` and copy it to `value` if found. Returns
      /// true if an entry was found for `key`, and its timestamp is not more than
      /// max_age_ seconds in the past.
      bool Lookup(const std::string& key, T* value) {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  8. tensorflow/c/checkpoint_reader.h

      // Returns a map from variable names to their data types.  Slices of a
      // partitioned tensor are combined into a single entry.
      const TensorSliceReader::VarToDataTypeMap& GetVariableToDataTypeMap() const;
    
      // Attempts to look up the tensor named "name" and stores the found result in
      // "out_tensor".
      void GetTensor(const string& name,
                     std::unique_ptr<tensorflow::Tensor>* out_tensor,
                     TF_Status* out_status) const;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      /// Prune the cache by removing files with expired blocks.
      void Prune() ABSL_LOCKS_EXCLUDED(mu_);
    
      bool BlockNotStale(const std::shared_ptr<Block>& block)
          ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_);
    
      /// Look up a Key in the block cache.
      std::shared_ptr<Block> Lookup(const Key& key) ABSL_LOCKS_EXCLUDED(mu_);
    
      void MaybeFetch(const Key& key, const std::shared_ptr<Block>& block,
    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)
Back to top