Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Map (0.13 sec)

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

      /// The callback to read timestamps.
      std::function<uint64_t()> timer_seconds_;
    
      /// Guards access to the cache and the LRU list.
      absl::Mutex mu_;
    
      /// The cache (a map from string key to Entry).
      std::map<std::string, Entry> cache_ ABSL_GUARDED_BY(mu_);
    
      /// The LRU list of entries. The front of the list identifies the most
      /// recently accessed entry.
    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/experimental/grappler/grappler.h

    TF_CAPI_EXPORT extern void TF_GetOutputPropertiesList(
        TF_GraphProperties* graph_properties, const char* name,
        TF_Buffer** properties, int num_values, TF_Status* status);
    
    // Helper to maintain a map between function names in a given
    // FunctionDefLibrary and function definitions.
    // Typical use case, is to look up an OpDef by type name.
    typedef struct TF_FunctionLibraryDefinition TF_FunctionLibraryDefinition;
    
    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)
  3. tensorflow/c/eager/c_api_experimental.h

    TF_CAPI_EXPORT extern void TFE_OpAddAttrs(TFE_Op* op, const TFE_OpAttrs* attrs);
    
    // Serialize `attrs` as a tensorflow::NameAttrList protocol buffer (into `buf`),
    // containing the op name and a map of its attributes.
    TF_CAPI_EXPORT extern void TFE_OpAttrsSerialize(const TFE_OpAttrs* attrs,
                                                    TF_Buffer* buf,
                                                    TF_Status* status);
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // acquires each thread in order (and so only one Execute will schedule
      // blocking collective operations at a time), and avoids some dynamic
      // allocation/scheduling.
      //
      // TODO(allenl): Keep a map from outer thread to list of inner threads rather
      // than a single list of threads so aliased nested parallel devices don't
      // re-use a thread.
      std::vector<std::unique_ptr<DeviceThread>> device_threads_;
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  5. tensorflow/c/c_api.h

    TF_CAPI_EXPORT extern void TF_DeleteApiDefMap(TF_ApiDefMap* apimap);
    
    // Add ApiDefs to the map.
    //
    // `text` corresponds to a text representation of an ApiDefs protocol message.
    // (https://www.tensorflow.org/code/tensorflow/core/framework/api_def.proto).
    //
    // The provided ApiDefs will be merged with existing ones in the map, with
    // precedence given to the newly added version in case of conflicts with
    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)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

        /// Wait on cond_var if state is FETCHING.
        absl::CondVar cond_var;
      };
    
      /// \brief The block map type for the file block cache.
      ///
      /// The block map is an ordered map from Key to Block.
      typedef std::map<Key, std::shared_ptr<Block>> BlockMap;
    
      /// Prune the cache by removing files with expired blocks.
      void Prune() ABSL_LOCKS_EXCLUDED(mu_);
    
    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/gradients.h

    // a map (`tensorflow::eager::TensorTape`) from the wrapped tensor to the id of
    // the op that produced it (or -1 if this tensor was watched using
    // `GradientTape::Watch`.) The op_id is simply a unique index assigned to each
    // op executed under the tape. A separate map (`tensorflow::eager::OpTape`)
    // maintains the map from `op_id` to a `OpTapeEntry` which stores the `op_type`,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  8. tensorflow/c/eager/abstract_tensor_handle.h

      // Returns tensor (full) type.
      // While there is no immediate plan to deprecate dtype and shape in favor
      // of only using full type type information, this is a future possibility.
      //
      // Note that map_dtype_to_child_of_tensor() from core/framework/types.h
      // can be used to set a FullTypeDef based on dtype in a derived class if
      // appropriate.
      virtual tensorflow::FullTypeDef FullType() const = 0;
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Mar 03 00:30:36 GMT 2023
    - 3K bytes
    - Viewed (0)
  9. tensorflow/c/eager/immediate_execution_context.h

    ==============================================================================*/
    #ifndef TENSORFLOW_C_EAGER_IMMEDIATE_EXECUTION_CONTEXT_H_
    #define TENSORFLOW_C_EAGER_IMMEDIATE_EXECUTION_CONTEXT_H_
    
    #include <functional>
    #include <map>
    #include <memory>
    #include <vector>
    
    #include "absl/types/optional.h"
    #include "absl/types/span.h"
    #include "tensorflow/c/eager/abstract_context.h"
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  10. tensorflow/c/checkpoint_reader.h

      bool HasTensor(const string& name) const;
      const string DebugString() const;
    
      // Returns a map from variable names to their shapes.  Slices of a partitioned
      // tensor are combined into a single entry.
      const TensorSliceReader::VarToShapeMap& GetVariableToShapeMap() const;
    
      // Returns a map from variable names to their data types.  Slices of a
      // partitioned tensor are combined into a single entry.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
Back to top