- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for Seguin (0.23 sec)
-
tensorflow/c/c_api.cc
} else { if (!desc->colocation_constraints.empty()) { desc->node_builder.Attr( tensorflow::kColocationAttrName, std::vector<string>(desc->colocation_constraints.begin(), desc->colocation_constraints.end())); } status->status = desc->node_builder.Finalize(&desc->graph->graph, &ret, /*consume=*/true);
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 102.4K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
TF_DeleteCheckpointReader(reader); return nullptr; } const auto& m = reader->GetVariableToDataTypeMap(); for (auto it = m.begin(); it != m.end(); ++it) reader->variable_list.push_back(it->first); std::sort(reader->variable_list.begin(), reader->variable_list.end()); return reader; } void TF_DeleteCheckpointReader(TF_CheckpointReader* reader) { delete reader; }
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Tue Mar 21 18:51:23 GMT 2023 - 29.4K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.cc
tensorflow::DeviceFactory::AddCpuDevices(sess_options, prefix, &devices); // Remove the device that has the host device name since host device is alreay // in an initialized context. for (auto d = devices.begin(); d != devices.end();) { if (absl::StrContains(d->get()->name(), "CPU:0")) { d = devices.erase(d); } else { ++d; } }
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 35.9K bytes - Viewed (3) -
tensorflow/c/c_api_function.cc
const auto& iter = input_nodes->find(node); if (iter == input_nodes->end()) { input_nodes->insert({node, {idx}}); } else { auto& indices = iter->second; if (std::find(indices.begin(), indices.end(), idx) != indices.end()) { return InvalidArgument("TF_Output ", node->name(), ":", idx, " appears more than once in the input list"); } indices.push_back(idx);
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Apr 26 20:44:21 GMT 2023 - 13.6K bytes - Viewed (2) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
combined_shape.SetDimWithStatus(axis_index, axis_length)); } } } auto dim_sizes = combined_shape.dim_sizes(); shape_ = std::vector<int64_t>(dim_sizes.begin(), dim_sizes.end()); } *shape = &*shape_; return absl::OkStatus(); } Status ParallelTensor::SummarizeValue(std::string& summary) { summary = "{";
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Fri Feb 09 07:47:20 GMT 2024 - 25.4K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc
EXPECT_TF_OK(status_); std::vector<std::string> childrens; for (int i = 0; i < num_entries; ++i) { childrens.push_back(entries[i]); } std::sort(childrens.begin(), childrens.end()); EXPECT_EQ(std::vector<string>({"SubDir/", "TestFile.csv"}), childrens); } TEST_F(GCSFilesystemTest, DeleteFile) { tf_gcs_filesystem::Init(filesystem_, status_); ASSERT_TF_OK(status_);
C++ - Registered: Tue Mar 26 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/ram_file_block_cache.cc
} auto begin = data.begin(); if (offset > pos) { // The block begins before the slice we're reading. begin += offset - pos; } auto end = data.end(); if (pos + data.size() > offset + n) { // The block extends past the end of the slice we're reading. end -= (pos + data.size()) - (offset + n); } if (begin < end) {
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Thu Jul 16 01:39:09 GMT 2020 - 11.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
<< ", n = " << n; } // Verify the contents of the read. std::vector<char>::const_iterator begin = buf.begin() + offset; std::vector<char>::const_iterator end = offset + n > buf.size() ? buf.end() : begin + n; std::vector<char> want(begin, end); EXPECT_EQ(got, want) << "block size = " << block_size << ", offset = " << offset << ", n = " << n;
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:57 GMT 2021 - 23.2K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
EXPECT_TF_META("v", list_size, TF_ATTR_INT, -1); TF_OperationGetAttrIntList(oper, "v", values, list_size, s_); EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); EXPECT_TRUE(std::equal(std::begin(list), std::end(list), std::begin(values))); } TEST_F(CApiAttributesTest, Float) { auto desc = init("float"); TF_SetAttrFloat(desc, "v", 2.718); auto oper = TF_FinishOperation(desc, s_);
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Mar 06 16:40:30 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
if (!user_schemes->empty()) { auto is_requested_scheme = [user_schemes](const auto& scheme) { return std::find(user_schemes->begin(), user_schemes->end(), scheme) == user_schemes->end(); }; auto end = std::remove_if(all_schemes->begin(), all_schemes->end(), is_requested_scheme); all_schemes->erase(end, all_schemes->end()); } }
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0)