- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 63 for cocreate (0.25 sec)
-
tensorflow/c/c_test.c
#endif #include "tensorflow/c/c_api.h" #include "tensorflow/c/c_api_experimental.h" #include "tensorflow/c/env.h" #include "tensorflow/c/kernels.h" // A create function. This will never actually get called in this test, it's // just nice to know that it compiles. void* create(TF_OpKernelConstruction* ctx) { TF_DataType type; TF_Status* s = TF_NewStatus(); TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Apr 24 20:50:35 GMT 2024 - 2.8K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc
ASSERT_TRUE(tensorflow::GrpcServer::Create( server_def, tensorflow::Env::Default(), &worker_server1) .ok()); ASSERT_TRUE(worker_server1->Start().ok()); server_def.set_task_index(2); std::unique_ptr<tensorflow::GrpcServer> worker_server2; ASSERT_TRUE(tensorflow::GrpcServer::Create( server_def, tensorflow::Env::Default(), &worker_server2)
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 22:09:57 GMT 2023 - 6.7K bytes - Viewed (0) -
tensorflow/c/eager/tfe_monitoring_internal.h
struct TFE_MonitoringBuckets { explicit TFE_MonitoringBuckets( std::function<std::unique_ptr<tensorflow::monitoring::Buckets>(void)> fn) { create_buckets = fn; } std::function<std::unique_ptr<tensorflow::monitoring::Buckets>(void)> create_buckets; }; struct TFE_MonitoringSamplerCell { tensorflow::monitoring::SamplerCell cell; }; template <int NumLabels>
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 5.2K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/setup_venv_test.sh
# Run this from inside the tensorflow github directory. # Usage: setup_venv_test.sh venv_and_symlink_name "glob pattern for one wheel file" # Example: setup_venv_test.sh bazel_pip "/tf/pkg/*.whl" # # This will create a venv with that wheel file installed in it, and a symlink # in ./venv_and_symlink_name/tensorflow to ./tensorflow. We use this for the # "pip" tests. python -m venv /$1 mkdir -p $1 rm -f ./$1/tensorflow
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 1.4K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_helper.cc
// When creating file, use the same permissions as original mode_t open_mode = mode & (S_IRWXU | S_IRWXG | S_IRWXO); // O_WRONLY | O_CREAT | O_TRUNC: // Open file for write and if file does not exist, create the file. // If file exists, truncate its size to 0. int dst_fd = open(dst, O_WRONLY | O_CREAT | O_TRUNC, open_mode); if (dst_fd < 0) { close(src_fd); return -1; }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jan 16 05:36:52 GMT 2020 - 2.1K bytes - Viewed (1) -
tensorflow/c/c_api.cc
export_dir, tag_set, &bundle); if (!status->status.ok()) return nullptr; // Create a TF_Graph from the MetaGraphDef. This is safe as long as Session // extends using GraphDefs. The Graph instance is different, but equivalent // to the one used to create the session. // // TODO(jhseu): When Session is modified to take Graphs instead of
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.h
// TF_Tensor). TF_CAPI_EXPORT extern TF_Tensor* TFE_TensorHandleResolve(TFE_TensorHandle* h, TF_Status* status); // Create a new TFE_TensorHandle with the same contents as 'h' but placed // in the memory of the device name 'device_name'. // If source and destination are the same device, then this creates a new handle
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Viewed (1) -
.github/workflows/create_issue.js
let assignee_logins = assignees.map(x => x.login); assignee_logins.push(pr_resp.data.user.login); console.log(assignee_logins); // Create an new GH Issue and reference the Original PR const resp = await github.rest.issues.create({ owner, repo, assignees: assignee_logins, title: `Issue created for Rollback of PR #${pr_number}: ${pr_title}`,
JavaScript - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Oct 18 23:04:59 GMT 2021 - 2.8K bytes - Viewed (0) -
tensorflow/c/experimental/next_pluggable_device/c_api.cc
container_name, plugin_resource_name, &tf_plugin_resource, [plugin_resource_name, create_func, create_func_args, delete_func](tensorflow::PluginResource** new_resource) { void* opaque_plugin_resource = create_func(create_func_args); *new_resource = new tensorflow::PluginResource( opaque_plugin_resource, plugin_resource_name, delete_func);
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/c_api_test_util.h
const char* device_type); // Create a ServerDef with the given `job_name` and add `num_tasks` tasks in it. tensorflow::ServerDef GetServerDef(const tensorflow::string& job_name, int num_tasks); // Create a ServerDef with job name "localhost" and add `num_tasks` tasks in it. tensorflow::ServerDef GetServerDef(int num_tasks);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Jul 17 23:43:59 GMT 2023 - 7.7K bytes - Viewed (0)