Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Read (0.19 sec)

  1. tensorflow/c/eager/tfe_monitoring_reader_internal.h

      explicit TFE_MonitoringCounterReader(const char* name) {
        counter = std::make_unique<
            ::tensorflow::monitoring::testing::CellReader<int64_t>>(name);
      }
      template <typename... LabelType>
      int64_t Read(const LabelType&... labels);
      std::unique_ptr<::tensorflow::monitoring::testing::CellReader<int64_t>>
          counter;
    };
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

      const uint64_t max_age_;
    
      /// The maximum number of entries in the cache. A value of 0 means there is no
      /// limit on entry count.
      const size_t max_entries_;
    
      /// 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).
    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)
  3. tensorflow/c/c_api_experimental.h

    // set XLA flag values to prepare for XLA compilation. Otherwise set
    // global_jit_level to OFF.
    //
    // This and the next API are syntax sugar over TF_SetConfig(), and is used by
    // clients that cannot read/write the tensorflow.ConfigProto proto.
    // TODO: Migrate to TF_CreateConfig() below.
    TF_CAPI_EXPORT extern void TF_EnableXLACompilation(TF_SessionOptions* options,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_experimental.h

    // leader and become accessible to all workers in the cluster.
    // Currently, a config key can only be set with one value, and subsequently
    // setting the same key will lead to errors.
    //
    // Note that the key-values are only expected to be used for cluster
    // configuration data, and should not be used for storing a large amount of data
    // or being accessed very frequently.
    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)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

    void Close(const TF_WritableFile* file, TF_Status* status);
    }  // namespace tf_writable_file
    
    namespace tf_read_only_memory_region {
    void Cleanup(TF_ReadOnlyMemoryRegion* region);
    const void* Data(const TF_ReadOnlyMemoryRegion* region);
    uint64_t Length(const TF_ReadOnlyMemoryRegion* region);
    }  // namespace tf_read_only_memory_region
    
    namespace tf_gcs_filesystem {
    typedef struct GcsFileStat {
      TF_FileStatistics base;
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:37:41 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

          pruning_thread_.reset();
        }
      }
    
      /// Read `n` bytes from `filename` starting at `offset` into `buffer`. It
      /// returns total bytes read ( -1 in case of errors ). This method will set
      /// `status` to:
      ///
      /// 1) The error from the remote filesystem, if the read from the remote
      ///    filesystem failed.
      /// 2) `TF_FAILED_PRECONDITION` if the read from the remote filesystem
      /// succeeded,
    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_experimental_reader.h

    #define TENSORFLOW_C_EAGER_C_API_EXPERIMENTAL_READER_H_
    
    #include "tensorflow/c/eager/c_api.h"
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    // Test only exports of the monitoring Cell Reader API which allows tests to
    // read current values from streamz counters defined in other modules.
    //
    // The code under test will have created streamz counters like this:
    // auto* streamz = tensorflow::monitoring::Counter<1>::New("name",
    // "description", "label");
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/modular_filesystem.h

              read_only_memory_region_ops,
          std::function<void*(size_t)> plugin_memory_allocate,
          std::function<void(void*)> plugin_memory_free)
          : filesystem_(std::move(filesystem)),
            ops_(std::move(filesystem_ops)),
            random_access_file_ops_(std::move(random_access_file_ops)),
            writable_file_ops_(std::move(writable_file_ops)),
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  9. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

      // fail (it runs operations), it must be called explicitly and the resulting
      // `status` checked.
      void Destroy(TFE_Context* context, TF_Status* status);
    
      // Reads from the variable.
      TensorHandlePtr Read(TFE_Context* context, TF_Status* status);
      // Assigns a new value to the variable.
      void Assign(TFE_Context* context, TFE_TensorHandle* value, TF_Status* status);
      // Adds `value` to the existing value of the variable.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/filesystem_interface.h

      ops->writable_file_ops_api = TF_WRITABLE_FILE_OPS_API;
      ops->writable_file_ops_size = TF_WRITABLE_FILE_OPS_SIZE;
      ops->read_only_memory_region_ops_abi = TF_READ_ONLY_MEMORY_REGION_OPS_ABI;
      ops->read_only_memory_region_ops_api = TF_READ_ONLY_MEMORY_REGION_OPS_API;
      ops->read_only_memory_region_ops_size = TF_READ_ONLY_MEMORY_REGION_OPS_SIZE;
    }
    
    /// Initializes a TensorFlow plugin.
    ///
    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