- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for createdAt (0.23 sec)
-
tensorflow/c/c_api.cc
params.ninputs <= 0 || params.cond_inputs == nullptr || params.body_inputs == nullptr || params.body_outputs == nullptr) { s->status = InvalidArgument( "TF_WhileParams must be created by successful TF_NewWhile() call"); return false; } return true; } bool ValidateInputWhileParams(const TF_WhileParams& params, TF_Status* s) { if (params.cond_output.oper == nullptr) {
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/experimental/filesystem/plugins/posix/posix_filesystem.cc
new tf_read_only_memory_region::PosixMemoryRegion{ address, static_cast<uint64_t>(st.st_size)}; TF_SetStatus(status, TF_OK, ""); } } close(fd); } static void CreateDir(const TF_Filesystem* filesystem, const char* path, TF_Status* status) { if (strlen(path) == 0) TF_SetStatus(status, TF_ALREADY_EXISTS, "already exists");
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/c_api_experimental.cc
if (!status->status.ok()) return; // Initialize a input_tensor vector with `nullptr` values. std::vector<const Tensor*> input_tensors_vector(num_inputs, nullptr); // A vector to keep track of newly created `tf::Tensor` objects. std::vector<Tensor> all_input_tensors; // Update the vector with information from `input_tensors` if provided. if (input_tensors != nullptr) {
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/eager/gradients.cc
void MarkAsResult(AbstractTensorHandle* gradient) const override; void DeleteGradient(AbstractTensorHandle* gradient) const override; private: // The context where the aggregation op `Add` is to be created. AbstractContext* ctx_; }; // Returns the number of elements in the gradient tensor. int64_t TapeVSpace::NumElements(AbstractTensorHandle* tensor) const {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 19.3K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
status, TF_NOT_FOUND, absl::StrCat("The path ", path, " does not exist.").c_str()); } void CreateDir(const TF_Filesystem* filesystem, const char* path, TF_Status* status) { std::string dir = path; MaybeAppendSlash(&dir); TF_VLog(3, "CreateDir: creating directory with path: %s and " "path_with_slash: %s", path, dir.c_str());
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/c/experimental/filesystem/modular_filesystem.cc
return StatusFromTF_Status(plugin_status.get()); } Status ModularFileSystem::CreateDir(const std::string& dirname, TransactionToken* token) { if (ops_->create_dir == nullptr) return errors::Unimplemented(tensorflow::strings::StrCat( "Filesystem for ", dirname, " does not support CreateDir()")); UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
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/eager/c_api_experimental_test.cc
// // 1. Create a variable on `remote_device`, using `ctx_0`. TFE_TensorHandle* handle_0 = CreateVariable(ctx_0, 1.2, remote_device, /*variable_name=*/"var"); // 2. Wait for `var` to be created and initialized on the worker. TF_Status* status = TF_NewStatus(); TFE_ContextAsyncWait(ctx_0, status); EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TF_DeleteStatus(status);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 03:14:26 GMT 2023 - 31.5K bytes - Viewed (1) -
tensorflow/c/eager/c_api_test.cc
// 2. Wait for `var2` to be created and initialized on the worker. TF_Status* status = TF_NewStatus(); TFE_ContextAsyncWait(ctx_0, status); EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TF_DeleteStatus(status); // 3. Read `var_2` using `ctx_1`. This read should succeed since `ctx_1` was // created with `isolate_session_state` set to false. {
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
TF_Run(session, run_options, nullptr, nullptr, 0, nullptr, nullptr, 0, nullptr, 0, run_metadata, s); EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s)) << TF_Message(s); EXPECT_EQ("Session was not created with a graph before Run()!", string(TF_Message(s))); TF_DeleteBuffer(run_metadata); TF_DeleteBuffer(run_options); TF_DeleteDeprecatedSession(session, s);
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)