- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for Slough (0.21 sec)
-
tensorflow/c/c_api.cc
const string& s = attr->list().s(i); values[i] = p; lengths[i] = s.size(); if ((p + s.size()) > (static_cast<char*>(storage) + storage_size)) { status->status = InvalidArgument( "Not enough storage to hold the requested list of strings"); return; } memcpy(values[i], s.data(), s.size()); p += s.size(); } }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
// Update the vector with information from `input_tensors` if provided. if (input_tensors != nullptr) { // Note that we take the address of the elements in `all_input_tensors` // below. Allocate enough space so that no reallocation happens, which will // make the pointers invalid. all_input_tensors.reserve(num_inputs); for (int i = 0; i < num_inputs; ++i) { if (input_tensors[i] == nullptr) continue;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
status = env_->NewRandomAccessFile(filepath, &read_file); if (!status.ok()) GTEST_SKIP() << "NewRandomAccessFile() not supported: " << status; char scratch[64 /* big enough to accommodate test_data */] = {0}; StringPiece result; status = read_file->Read(0, test_data.size(), &result, scratch); EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OK); EXPECT_EQ(test_data, result);
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
delete[] dims; TF_TString* data = static_cast<TF_TString*>(TF_TensorData(t)); for (int i = 0; i < batch_size; ++i) { TF_TString_Init(&data[i]); // The following input string length is large enough to make sure that // copy to tstring in large mode. std::string source = "This is the " + std::to_string(i + 1) + "th. data element\n"; TF_TString_Copy(&data[i], source.c_str(), source.length());
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/grappler/grappler.cc
lengths[index] = s.size(); if ((p + s.size()) > (static_cast<char*>(storage) + storage_size)) { tsl::Set_TF_Status_from_Status( status, absl::InvalidArgumentError( "Not enough storage to hold the requested list of nodes")); return; } memcpy(values[index], s.data(), s.size()); p += s.size(); index++; } }
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Sep 06 19:12:29 GMT 2023 - 15K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc
// * allows having newer plugins than the current core TensorFlow: the // additional entries in the plugin's table are just discarded; // * allows having older plugins than the current core TensorFlow (though // we are still warning users): the entries that core TensorFlow expects // but plugins didn't provide will be set to `nullptr` values and core // TensorFlow will know to not call these on behalf of users;
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)