Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 745 for size_t (0.21 sec)

  1. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    -#  endif
    -# endif
    -
    -__STRING_INLINE size_t __strcspn_c1 (const char *__s, int __reject);
    -__STRING_INLINE size_t
    -__strcspn_c1 (const char *__s, int __reject)
    -{
    -  size_t __result = 0;
    -  while (__s[__result] != '\0' && __s[__result] != __reject)
    -    ++__result;
    -  return __result;
    -}
    -
    -__STRING_INLINE size_t __strcspn_c2 (const char *__s, int __reject1,
    -				     int __reject2);
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 42.9K bytes
    - Viewed (1)
  2. tensorflow/c/experimental/grappler/grappler_test.cc

      std::unique_ptr<size_t[]> lens(new size_t[item.fetch.size()]);
      std::unique_ptr<char[]> storage(new char[storage_size]);
      TF_GetFetchNodesList(c_item, values.get(), lens.get(), item.fetch.size(),
                           storage.get(), storage_size, status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      for (size_t i = 0; i < item.fetch.size(); ++i) {
        EXPECT_EQ(item.fetch[i].size(), lens[i]) << i;
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Thu Apr 13 22:30:58 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

          block_size, max_bytes, max_staleness,
          [this](const std::string& filename, size_t offset, size_t buffer_size,
                 char* buffer, TF_Status* status) {
            return LoadBufferFromGCS(filename, offset, buffer_size, buffer, this,
                                     status);
          });
    
      uint64_t stat_cache_max_age = kStatCacheDefaultMaxAge;
      size_t stat_cache_max_entries = kStatCacheDefaultMaxEntries;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/grappler/grappler.h

    // least `storage_size` bytes in length.  `num_values` and `storage` can be
    // obtained from TF_GetNodesToPreserveSize
    //
    // Fails if storage_size is too small to hold the requested number of strings.
    TF_CAPI_EXPORT extern void TF_GetNodesToPreserveList(
        const TF_GrapplerItem* item, char** values, size_t* lengths, int num_values,
        void* storage, size_t storage_size, TF_Status* status);
    
    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/c_api_test.cc

                              std::unique_ptr<const void*[]>* ptrs,
                              std::unique_ptr<size_t[]>* lens) {
      ptrs->reset(new const void*[v.size()]);
      lens->reset(new size_t[v.size()]);
      for (size_t i = 0; i < v.size(); ++i) {
        (*ptrs)[i] = v[i].data();
        (*lens)[i] = v[i].size();
      }
    }
    
    class CApiColocationTest : public ::testing::Test {
     protected:
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  6. tensorflow/c/eager/c_api.cc

          methods));
    }
    
    TFE_TensorHandle* TFE_NewTensorHandleFromDeviceMemory(
        TFE_Context* ctx, const char* device_name, TF_DataType dtype,
        const int64_t* dims, int num_dims, void* data, size_t len,
        void (*deallocator)(void* data, size_t len, void* arg),
        void* deallocator_arg, TF_Status* status) {
      tensorflow::Device* device = nullptr;
      tensorflow::EagerContext* context =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  7. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

    static int64_t Read(const TF_RandomAccessFile* file, uint64_t offset, size_t n,
                        char* buffer, TF_Status* status) {
      auto posix_file = static_cast<PosixFile*>(file->plugin_file);
      char* dst = buffer;
      int64_t read = 0;
    
      while (n > 0) {
        // Some platforms, notably macs, throw `EINVAL` if `pread` is asked to read
        // more than fits in a 32-bit integer.
        size_t requested_read_length;
        if (n > INT32_MAX)
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  8. tensorflow/c/eager/dlpack_test.cc

                              std::vector<int64_t> shape,
                              std::vector<int64_t> strides) {
      size_t num_elements = 1;
      for (int i = 0; i < static_cast<int32_t>(shape.size()); ++i) {
        num_elements *= shape[i];
      }
      std::vector<float> data(num_elements);
      for (size_t j = 0; j < num_elements; ++j) {
        data[j] = j;
      }
      DLManagedTensor dlm_in = {};
      DLTensor* dltensor_in = &dlm_in.dl_tensor;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jun 30 03:04:46 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  9. tensorflow/c/eager/parallel_device/parallel_device_lib.h

          const ParallelDevice& parallel_device,
          std::vector<TensorHandlePtr> components, absl::Span<const int64_t> shape,
          TF_Status* status);
    
      size_t num_tensors() const { return tensors_.size(); }
      TFE_TensorHandle* tensor(size_t index) const { return tensors_[index].get(); }
    
      // If the `shape` argument to `FromTensorHandles` is specified, returns that.
      //
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/gradients/tape/tape_operation.cc

      for (auto input : inputs) {
        forward_op_.inputs.push_back(input);
      }
      return OkStatus();
    }
    Status TapeOperation::SetAttrString(const char* attr_name, const char* data,
                                        size_t length) {
      forward_op_.attrs.Set(attr_name, StringPiece(data, length));
      return parent_op_->SetAttrString(attr_name, data, length);
    }
    Status TapeOperation::SetAttrInt(const char* attr_name, int64_t value) {
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jun 07 01:53:35 GMT 2022
    - 9K bytes
    - Viewed (1)
Back to top