- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for Chow (0.14 sec)
-
tensorflow/c/eager/c_api_distributed_test.cc
TFE_DeleteExecutor(executor); TFE_ContextRemoveFunction(ctx, "AddVariablesFunction", status); TFE_DeleteContext(ctx); TF_DeleteStatus(status); // TODO(b/136478427): Figure out how to correctly shut the server down. worker_server1.release(); worker_server2.release(); } TEST(CAPI, TestLocalFunctionWithPackedInput) { TestFunctionWithPackedInput(/*remote=*/false); }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 23.5K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_testlib.cc
void Variable::Assign(TFE_Context* context, TFE_TensorHandle* value, TF_Status* status) { GeneralAssignment("AssignVariableOp", context, value, status); } // Passed to `TF_NewTensor` to indicate how an array of floats should be // deleted. static void FloatDeallocator(void* data, size_t, void* arg) { delete[] static_cast<float*>(data); } // Creates a TFE_TensorHandle with value `v`.
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Jun 15 15:44:44 GMT 2021 - 12.5K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device.cc
MaybeParallelTensorOwned(std::move(parallel_result))); } result.emplace(std::move(result_content)); return result; } // Used as an argument to TFE_NewCustomDeviceTensorHandle, indicating how // ParallelTensors wrapped in TFE_TensorHandles should be cleaned up once their // reference counts drop to zero. void ParallelTensorDeallocator(void* data) { delete reinterpret_cast<ParallelTensor*>(data); }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Mar 29 22:05:31 GMT 2023 - 18.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_cluster_test.cc
TFE_Executor* executor = TFE_ContextGetExecutorForThread(ctx); TFE_ExecutorWaitForAllPendingNodes(executor, status); ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); // TODO(b/136478427): Figure out how to correctly shut the server down. worker_server.release(); // Update the server def with a new set of names (worker instead of // localhost). tensorflow::ServerDef updated_server_def = GetServerDef("worker", 2);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Apr 14 10:03:59 GMT 2023 - 19.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_remote_test.cc
ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TFE_DeleteExecutor(executor); TFE_DeleteContext(ctx); TF_DeleteStatus(status); // TODO(b/136478427): Figure out how to correctly shut the server down. worker_server.release(); } TEST(CAPI, RemoteExecute) { TestRemoteExecute(false); } TEST(CAPI, RemoteExecuteAsync) { TestRemoteExecute(true); }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Aug 12 00:14:22 GMT 2020 - 5.4K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
status = env_->GetChildren(dirpath, &children); EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OK); if (!status.ok()) GTEST_SKIP() << "GetChildren() not supported: " << status; // All entries must show up in the vector. // Must contain only the last name in filenames and dirnames. const std::vector<std::string> expected_children = {"a_file", "another_file",
C++ - Registered: Tue Apr 23 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
string expected_msg = "No gradient defined for op: TestOpWithNoGradient. Please see " "https://www.tensorflow.org/code/" "tensorflow/cc/gradients/README.md" " for instructions on how to add C++ gradients."; EXPECT_EQ(expected_msg, TF_Message(s_)); } // Run the graph and ensure that the gradient values are as expected. void RunGraphsAndCompareOutputs(TF_Output* grad_outputs,
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/eager/c_api_remote_test_util.cc
TFE_DeleteExecutor(executor); if (func) { TFE_ContextRemoveFunction(ctx, "MatMulFunction", status); } TFE_DeleteContext(ctx); TF_DeleteStatus(status); // TODO(b/136478427): Figure out how to correctly shut the server down. worker_server1.release(); worker_server2.release();
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Dec 11 22:56:03 GMT 2020 - 9.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
// The environment variable that overrides the maximum number of entries in the // Stat cache. constexpr char kStatCacheMaxEntries[] = "GCS_STAT_CACHE_MAX_ENTRIES"; constexpr size_t kStatCacheDefaultMaxEntries = 1024; // How to upload new data when Flush() is called multiple times. // By default the entire file is reuploaded. constexpr char kAppendMode[] = "GCS_APPEND_MODE"; // If GCS_APPEND_MODE=compose then instead the new data is uploaded to a
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Aug 23 06:55:53 GMT 2023 - 46.9K bytes - Viewed (0)