- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for regional (0.19 sec)
-
tensorflow/c/experimental/filesystem/plugins/windows/windows_filesystem.cc
// SECTION 3. Implementation for `TF_ReadOnlyMemoryRegion` // ---------------------------------------------------------------------------- namespace tf_read_only_memory_region { // TODO(b/139060984): Implement later } // namespace tf_read_only_memory_region // SECTION 4. Implementation for `TF_Filesystem`, the actual filesystem // ----------------------------------------------------------------------------
C++ - Registered: Tue Apr 09 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:21:15 GMT 2022 - 2.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
// completed. The memory returned might alias the internal memory used by // TensorFlow. Hence, callers should not mutate this memory (for example by // modifying the memory region pointed to by TF_TensorData() on the returned // TF_Tensor). TF_CAPI_EXPORT extern TF_Tensor* TFE_TensorHandleResolve(TFE_TensorHandle* h, TF_Status* status);
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) -
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; int64_t generation_number;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 04:37:41 GMT 2020 - 5.2K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc
region, status_); ASSERT_TF_OK(status_); auto length = tf_read_only_memory_region::Length(region); ASSERT_EQ(length, content_view.length()); auto data = static_cast<const char*>(tf_read_only_memory_region::Data(region)); ASSERT_TRUE(CompareSubString(0, content_view.length(), data, length)); tf_read_only_memory_region::Cleanup(region); delete region; }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 12:04:23 GMT 2020 - 24.9K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.cc
ops_->new_read_only_memory_region_from_file( filesystem_.get(), translated_name.c_str(), region.get(), plugin_status.get()); if (TF_GetCode(plugin_status.get()) == TF_OK) *result = std::make_unique<ModularReadOnlyMemoryRegion>( std::move(region), read_only_memory_region_ops_.get()); return StatusFromTF_Status(plugin_status.get()); }
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/modular_filesystem_test.cc
std::unique_ptr<ReadOnlyMemoryRegion> region; status = env_->NewReadOnlyMemoryRegionFromFile(filepath, ®ion); EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OK); if (!status.ok()) GTEST_SKIP() << "NewReadOnlyMemoryRegionFromFile() not supported: " << status; EXPECT_EQ(region->length(), test_data.size()); EXPECT_STREQ(reinterpret_cast<const char*>(region->data()), test_data.c_str());
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/experimental/filesystem/plugins/posix/posix_filesystem.cc
ops->read_only_memory_region_ops = static_cast<TF_ReadOnlyMemoryRegionOps*>( plugin_memory_allocate(TF_READ_ONLY_MEMORY_REGION_OPS_SIZE)); ops->read_only_memory_region_ops->cleanup = tf_read_only_memory_region::Cleanup; ops->read_only_memory_region_ops->data = tf_read_only_memory_region::Data; ops->read_only_memory_region_ops->length = tf_read_only_memory_region::Length;
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/experimental/filesystem/modular_filesystem_registration.cc
TF_WRITABLE_FILE_OPS_ABI, "writable file")); if (ops->read_only_memory_region_ops != nullptr) TF_RETURN_IF_ERROR(CheckABI(ops->read_only_memory_region_ops_abi, TF_READ_ONLY_MEMORY_REGION_OPS_ABI, "read only memory region")); return OkStatus(); } // Checks if the plugin and core API numbers match, logging mismatches.
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 07 22:08:43 GMT 2023 - 12.8K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.h
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/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
ops->read_only_memory_region_ops = static_cast<TF_ReadOnlyMemoryRegionOps*>( plugin_memory_allocate(TF_READ_ONLY_MEMORY_REGION_OPS_SIZE)); ops->read_only_memory_region_ops->cleanup = tf_read_only_memory_region::Cleanup; ops->read_only_memory_region_ops->data = tf_read_only_memory_region::Data; ops->read_only_memory_region_ops->length = tf_read_only_memory_region::Length;
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)