- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for Meleti (0.25 sec)
-
tensorflow/c/c_api.cc
TF_Graph* const graph = s->graph; if (graph != nullptr) { graph->mu.lock(); graph->sessions.erase(s); const bool del = graph->delete_requested && graph->sessions.empty(); graph->mu.unlock(); if (del) delete graph; } delete s->session; delete s; } void TF_SessionRun(TF_Session* session, const TF_Buffer* run_options,
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/eager/c_api_unified_experimental.cc
void TF_DeleteAbstractTensor(TF_AbstractTensor* t) { unwrap(t)->Unref(); } TF_OutputList* TF_NewOutputList() { return wrap(new OutputList); } void TF_DeleteOutputList(TF_OutputList* o) { delete unwrap(o); } void TF_OutputListSetNumOutputs(TF_OutputList* o, int num_outputs, TF_Status* s) { unwrap(o)->expected_num_outputs = num_outputs; unwrap(o)->outputs.clear();
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 9K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/grad_test_helper.cc
for (int j = 0; j < num_elem_numerical; j++) { ASSERT_NEAR(dnumerical[j], danalytical[j], abs_error); } TF_DeleteTensor(analytical_tensor); TF_DeleteTensor(numerical_tensor); delete[] danalytical; delete[] dnumerical; outputs[i]->Unref(); } } void CheckTensorValue(AbstractTensorHandle* t, absl::Span<const float> manuals, absl::Span<const int64_t> dims, double abs_error) {
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 5K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
} void TF_DeleteShapeAndTypeList(TF_ShapeAndTypeList* shape_list) { if (shape_list == nullptr) return; for (size_t i = 0; i < shape_list->num_items; ++i) { delete[] shape_list->items[i].dims; } delete[] shape_list->items; delete shape_list; } void TF_DeleteShapeAndTypeListArray(TF_ShapeAndTypeList** shape_list_array, int num_items) {
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/plugins/posix/posix_filesystem.cc
tf_posix_filesystem::NewReadOnlyMemoryRegionFromFile; ops->filesystem_ops->create_dir = tf_posix_filesystem::CreateDir; ops->filesystem_ops->delete_file = tf_posix_filesystem::DeleteFile; ops->filesystem_ops->delete_dir = tf_posix_filesystem::DeleteDir; ops->filesystem_ops->rename_file = tf_posix_filesystem::RenameFile; ops->filesystem_ops->copy_file = tf_posix_filesystem::CopyFile;
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/eager/custom_device_testutil.cc
// If true, only explicit op placements are accepted. If false, uses // type-based dispatch. bool strict_scope_placement; }; struct LoggedTensor { TFE_TensorHandle* tensor; LoggedTensor() = delete; explicit LoggedTensor(TFE_TensorHandle* tensor) : tensor(tensor) {} ~LoggedTensor() { TFE_DeleteTensorHandle(tensor); } }; int64_t LoggedTensorDim(void* data, int dim_index, TF_Status* status) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 03 20:47:31 GMT 2021 - 8.3K bytes - Viewed (0) -
tensorflow/c/experimental/next_pluggable_device/c_api.cc
void* plugin_resource, void (*delete_func)(void*), TF_Status* status) { auto* cc_ctx = reinterpret_cast<tensorflow::OpKernelContext*>(ctx); tensorflow::PluginResource* cc_resource_ptr = new tensorflow::PluginResource( plugin_resource, plugin_resource_name, delete_func); auto cc_status = cc_ctx->resource_manager()->Create<tensorflow::PluginResource>(
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Tue Jan 09 00:52:04 GMT 2024 - 13.9K bytes - Viewed (1) -
tensorflow/c/eager/parallel_device/parallel_device_testlib.cc
// device. std::function<void(Variable*)> variable_deleter = [&](Variable* to_delete) { to_delete->Destroy(context, status.get()); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); delete to_delete; }; std::unique_ptr<Variable, decltype(variable_deleter)> variable( Variable::Create(context, TF_FLOAT, /* Scalar */ {}, 0, device_name,
C++ - Registered: Tue Apr 30 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
#include "tensorflow/c/tf_status.h" #include "tensorflow/c/tf_status_helper.h" namespace tensorflow { namespace parallel_device { namespace { class OpDeleter { public: void operator()(TFE_Op* to_delete) const { TFE_DeleteOp(to_delete); } }; using OpPtr = std::unique_ptr<TFE_Op, OpDeleter>; using MaybeParallelTensorOwned = absl::variant<std::unique_ptr<ParallelTensor>, TensorHandlePtr>; using MaybeParallelTensorUnowned =
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 29 22:05:31 GMT 2023 - 18.3K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc
ASSERT_EQ(TF_GetCode(status_), TF_OUT_OF_RANGE) << TF_Message(status_); ASSERT_TRUE(CompareSubString(content_view.length() - 2, 2, result, read)); delete[] result; tf_random_access_file::Cleanup(file); delete file; } TEST_F(GCSFilesystemTest, WritableFile) { tf_gcs_filesystem::Init(filesystem_, status_); ASSERT_TF_OK(status_) << "Could not initialize filesystem. "
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 12:04:23 GMT 2020 - 24.9K bytes - Viewed (0)