- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 64 for uint64 (0.23 sec)
-
tensorflow/c/experimental/filesystem/modular_filesystem.cc
} Status ModularRandomAccessFile::Read(uint64 offset, size_t n, StringPiece* result, char* scratch) const { if (ops_->read == nullptr) return errors::Unimplemented( tensorflow::strings::StrCat("Read() not implemented for ", filename_)); UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus); int64_t read =
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Sep 06 19:12:29 GMT 2023 - 23.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
namespace tf_random_access_file { using ReadFn = std::function<int64_t(const std::string& path, uint64_t offset, size_t n, char* buffer, TF_Status* status)>; typedef struct GCSFile { const std::string path; const bool is_cache_enable; const uint64_t buffer_size; ReadFn read_fn; absl::Mutex buffer_mutex; uint64_t buffer_start ABSL_GUARDED_BY(buffer_mutex);
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) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
if (!status.ok()) GTEST_SKIP() << "CreateDir() not supported: " << status; uint64 size; status = env_->GetFileSize(dirpath, &size); EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::FAILED_PRECONDITION); } TEST_P(ModularFileSystemTest, TestGetFileSizeNotFound) { const std::string filepath = GetURIForPath("a_dir"); uint64 size; Status status = env_->GetFileSize(filepath, &size);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
EXPECT_EQ(6 * TF_DataTypeSize(TF_UINT64), TF_TensorByteSize(a)); EXPECT_EQ(6 * TF_DataTypeSize(TF_UINT64), TF_TensorByteSize(b)); // Check that a write to one tensor shows up in the other. *(static_cast<int64_t*>(TF_TensorData(a))) = 4; EXPECT_EQ(4, *(static_cast<int64_t*>(TF_TensorData(b)))); *(static_cast<int64_t*>(TF_TensorData(b))) = 6; EXPECT_EQ(6, *(static_cast<int64_t*>(TF_TensorData(a))));
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) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
char* buffer, TF_Status* status) -> int64_t { calls++; memset(buffer, 'x', n); TF_SetStatus(status, TF_OK, ""); return n; }; std::vector<char> out; // Our fake environment is initialized with the current timestamp. std::unique_ptr<NowSecondsEnv> env(new NowSecondsEnv); uint64 now = Env::Default()->NowSeconds(); env->SetNowSeconds(now);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:57 GMT 2021 - 23.2K bytes - Viewed (0) -
tensorflow/c/env.cc
} TF_CAPI_EXPORT extern uint64_t TF_NowNanos(void) { return ::tensorflow::Env::Default()->NowNanos(); } // Returns the number of microseconds since the Unix epoch. TF_CAPI_EXPORT extern uint64_t TF_NowMicros(void) { return ::tensorflow::Env::Default()->NowMicros(); } // Returns the number of seconds since the Unix epoch. TF_CAPI_EXPORT extern uint64_t TF_NowSeconds(void) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 7K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.h
Status DeleteFile(const std::string& fname, TransactionToken* token) override; Status DeleteRecursively(const std::string& dirname, TransactionToken* token, int64_t* undeleted_files, int64_t* undeleted_dirs) override; Status DeleteDir(const std::string& dirname, TransactionToken* token) override; Status RecursivelyCreateDir(const std::string& dirname,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 12 08:49:52 GMT 2023 - 8.9K bytes - Viewed (0) -
tensorflow/c/eager/dlpack.cc
case TF_DataType::TF_INT8: case TF_DataType::TF_INT16: case TF_DataType::TF_INT32: case TF_DataType::TF_INT64: dtype.code = DLDataTypeCode::kDLInt; break; case TF_DataType::TF_UINT8: case TF_DataType::TF_UINT16: case TF_DataType::TF_UINT32: case TF_DataType::TF_UINT64: dtype.code = DLDataTypeCode::kDLUInt; break; case TF_DataType::TF_BFLOAT16:
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 12.8K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc
// `pread` returns a `ssize_t` on POSIX, but due to interface being // cross-platform, return type of `Read` is `int64_t`. int64_t r = int64_t{pread(posix_file->fd, dst, requested_read_length, static_cast<off_t>(offset))}; if (r > 0) { dst += r; offset += static_cast<uint64_t>(r); n -= r; // safe as 0 < r <= n so n will never underflow read += r; } else if (r == 0) {
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) -
tensorflow/c/eager/c_api_test_util.h
tensorflow::uint64 send_device_incarnation); // Return a RecvOp op `op_name` with the attributes `send_device`, // `recv_device`, and `send_device_incarnation` set. TFE_Op* RecvOp(TFE_Context* ctx, const std::string& op_name, const std::string& send_device, const std::string& recv_device, tensorflow::uint64 send_device_incarnation);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Jul 17 23:43:59 GMT 2023 - 7.7K bytes - Viewed (0)