- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 33 for actual (0.19 sec)
-
ci/official/wheel_test/test_import_api_packages.py
# Some paths in the api_packages_path file cannot be directly imported. # These paths may point to attributes or sub-modules within a module's # namespace, but they don't correspond to an actual file # or directory on the filesystem. self.packages_for_skip = [ "tensorflow.distribute.cluster_resolver", "tensorflow.lite.experimental.authoring",
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Sep 13 15:52:07 GMT 2023 - 3.3K bytes - Viewed (1) -
tensorflow/c/eager/c_api_cluster_test.cc
std::unique_ptr<float[]> actual_values(new float[expected_values.size()]); EXPECT_EQ(sizeof(float) * expected_values.size(), TF_TensorByteSize(t)); memcpy(actual_values.get(), TF_TensorData(t), TF_TensorByteSize(t)); TF_DeleteTensor(t); for (int i = 0; i < expected_values.size(); i++) { EXPECT_EQ(expected_values[i], actual_values[i])
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Apr 14 10:03:59 GMT 2023 - 19.3K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
string expected_serialized; expected_op_def->SerializeToString(&expected_serialized); string actual_string(reinterpret_cast<const char*>(buffer->data), buffer->length); EXPECT_EQ(expected_serialized, actual_string); TF_GraphGetOpDef(graph, "MyFakeOp", buffer, status); EXPECT_EQ(TF_NOT_FOUND, TF_GetCode(status)); ExpectHasSubstr(TF_Message(status),
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/parallel_device/parallel_device_testlib.h
TFE_TensorHandleResolve(handle, status.get()), TF_DeleteTensor); ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get()); ASSERT_EQ(TF_TensorType(actual_value.get()), static_cast<TF_DataType>(DataTypeToEnum<value_type>().value)); EXPECT_EQ(expected_value, *static_cast<value_type*>(TF_TensorData(actual_value.get()))); }
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 09 01:12:35 GMT 2021 - 6.9K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc
auto r = static_cast<PosixMemoryRegion*>(region->plugin_memory_region); return r->length; } } // namespace tf_read_only_memory_region // SECTION 4. Implementation for `TF_Filesystem`, the actual filesystem // ---------------------------------------------------------------------------- namespace tf_posix_filesystem { static void Init(TF_Filesystem* filesystem, TF_Status* status) {
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
Status status = OkStatus(); core_filesystem_ops->init(filesystem.get(), c_status); status = Status(c_status->status); TF_DeleteStatus(c_status); if (!status.ok()) return status; // Step 3: Actual registration return Env::Default()->RegisterFileSystem( info->ops[index].scheme, std::make_unique<tensorflow::ModularFileSystem>( std::move(filesystem), std::move(core_filesystem_ops),
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/eager/c_api_test.cc
if (forward_input) { TFE_DeleteTensorHandle(n); } int num_retvals = 1; if (async) { // Enqueue dummy ops so we backlog async execution & actually test async. // This is usually unnecessary, but we've experienced the occasional test // failure when testing async mode with no explicit forwarding. for (int i = 0; i < 100000; ++i) {
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_function_test.cc
const std::unordered_set<string>& nodes) { ASSERT_EQ(nodes.size(), fdef.node_def_size()) << "Got unexpected number of nodes. Expected: [" << absl::StrJoin(nodes, ", ") << "] Actual nodes in fdef: " << fdef.DebugString(); for (const NodeDef& node_def : fdef.node_def()) { ASSERT_TRUE(nodes.find(node_def.name()) != nodes.end()) << "Got unexpected node: " << node_def.name()
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
return -1; } int64_t read; auto content_length = stream.headers().find("content-length"); if (content_length == stream.headers().end()) { // When we read a file with offset that is bigger than the actual file size. // GCS will return an empty header (e.g no `content-length` header). In this // case, we will set read to `0` and continue. read = 0; } else if (!absl::SimpleAtoi(content_length->second, &read)) {
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/BUILD
alias( name = "is_cuda_enabled", actual = if_oss( "@local_config_cuda//:is_cuda_enabled", "@local_config_cuda//cuda:using_clang", ), ) # Config setting that is satisfied when CUDA device code should be compiled # with clang. It does not imply that CUDA support has been enabled. alias( name = "is_cuda_compiler_clang", actual = if_oss(
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 09 18:15:11 GMT 2024 - 53.4K bytes - Viewed (8)