- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for bracket (0.33 sec)
-
tensorflow/c/eager/c_api_test.cc
ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); ASSERT_TRUE(absl::StrContains(device_name, "GPU:0")) << device_name; // .backing_device of shape is CPU since the tensor is backed by CPU backing_device_name = TFE_TensorHandleBackingDeviceName(retvals[0], status.get()); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1) -
tensorflow/c/c_api_test.cc
} void NoOpDeallocator(void* data, size_t, void*) {} TEST(CAPI, MalformedTensor) { // See https://github.com/tensorflow/tensorflow/issues/7394 // num_dims = 0 implies a scalar, so should be backed by at least 4 bytes of // data. TF_Tensor* t = TF_NewTensor(TF_FLOAT, nullptr, 0, nullptr, 0, &NoOpDeallocator, nullptr); ASSERT_TRUE(t == nullptr); } TEST(CAPI, AllocateTensor) {
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/eager/tape.h
// While the Accumulate method is running (accumulating is True), any op // executions not forwarded to backward_tape should be ignored. bool accumulating; }; // A deque-backed stack, whose element references are not invalidated by // pushes and pops at the back. std::stack<AccumulatorCallState> call_state_; }; // Template instantiations here
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 02 12:40:29 GMT 2024 - 47.2K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
std::string bucket, object; ParseGCSPath(path, true, &bucket, &object, status); if (TF_GetCode(status) != TF_OK) return; auto gcs_file = static_cast<GCSFile*>(filesystem->plugin_filesystem); if (object.empty()) { auto bucket_metadata = gcs_file->gcs_client.GetBucketMetadata(bucket, gcs::Fields("")); TF_SetStatusFromGCSStatus(bucket_metadata.status(), status);
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) -
LICENSE
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Nov 29 17:31:56 GMT 2021 - 13.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.cc
int bucket_count) { return new TFE_MonitoringBuckets([scale, growth_factor, bucket_count]() { return tensorflow::monitoring::Buckets::Exponential(scale, growth_factor, bucket_count); }); } void TFE_MonitoringDeleteBuckets(TFE_MonitoringBuckets* buckets) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 11 23:52:39 GMT 2024 - 35.9K bytes - Viewed (3) -
tensorflow/c/eager/immediate_execution_context.h
Status* status) = 0; // Create an operation to perform op execution ImmediateExecutionOperation* CreateOperation() override = 0; // Returns whether the runtime is backed by TFRT or the legacy TF Eager // Runtime. This is necessary to decouple runtime-dependent // code that is layered on top of the runtime. virtual bool UsesTFRT() = 0; // List attributes of available devices
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 06 08:34:00 GMT 2023 - 12.3K bytes - Viewed (0) -
RELEASE.md
to `tf.string_strip`), `tf.strings.substr`, `tf.strings.to_hash_bucket` (corresponds to `tf.string_to_hash_bucket`), `tf.strings.to_hash_bucket_fast` (corresponds to `tf.string_to_hash_bucket_fast`), `tf.strings.to_hash_bucket_strong` (corresponds to `tf.string_to_hash_bucket_strong`). ## Thanks to our Contributors
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 29 19:17:57 GMT 2024 - 727.7K bytes - Viewed (8) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc
TEST_F(GCSFilesystemTest, ParseGCSPath) { std::string bucket, object; ParseGCSPath("gs://bucket/path/to/object", false, &bucket, &object, status_); ASSERT_TF_OK(status_); ASSERT_EQ(bucket, "bucket"); ASSERT_EQ(object, "path/to/object"); ParseGCSPath("gs://bucket/", true, &bucket, &object, status_); ASSERT_TF_OK(status_); ASSERT_EQ(bucket, "bucket"); ParseGCSPath("bucket/path/to/object", false, &bucket, &object, status_);
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/plugins/gcs/gcs_filesystem.h
#include "tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h" #include "tensorflow/c/tf_status.h" void ParseGCSPath(const std::string& fname, bool object_empty_ok, std::string* bucket, std::string* object, TF_Status* status); namespace tf_random_access_file { void Cleanup(TF_RandomAccessFile* file); int64_t Read(const TF_RandomAccessFile* file, uint64_t offset, size_t n,
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)