- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for CreateVarHandle (0.19 seconds)
-
tensorflow/c/eager/c_api_test_util.h
int num_virtual_gpus = 0); // Create a variable handle with name `variable_name` on a device with name // `device_name`. TFE_TensorHandle* CreateVarHandle(TFE_Context* ctx, const tensorflow::string& device_name, const tensorflow::string& variable_name);Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Jul 17 23:43:59 GMT 2023 - 7.7K bytes - Click Count (0) -
tensorflow/c/eager/c_api_test_util.cc
for (int i = 0; i < num_virtual_gpus; ++i) { virtual_devices->add_memory_limit_mb(200); } } return server_def; } TFE_TensorHandle* CreateVarHandle(TFE_Context* ctx, const tensorflow::string& device_name, const tensorflow::string& variable_name) { TF_Status* status = TF_NewStatus();
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 23.4K bytes - Click Count (0) -
tensorflow/c/eager/c_api_test.cc
// created with `isolate_session_state` set to false. { // Create a handle to `var2`, using `ctx_1`. TFE_TensorHandle* var_handle = CreateVarHandle(ctx_1, remote_device, /*variable_name=*/"var2"); TFE_TensorHandle* handle_1 = nullptr; int num_retvals = 1; TF_Status* status = TF_NewStatus();Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 94.6K bytes - Click Count (0) -
tensorflow/c/eager/c_api_experimental_test.cc
// created with `isolate_session_state` set to false, and update should // preserve it. { // Create a handle to `var`, using `ctx_1`. TFE_TensorHandle* var_handle = CreateVarHandle(ctx_1, remote_device, /*variable_name=*/"var"); TFE_TensorHandle* handle_1 = nullptr; int num_retvals = 1; TF_Status* status = TF_NewStatus(); TFE_Op* op = TFE_NewOp(ctx_1, "ReadVariableOp", status);Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 31.5K bytes - Click Count (0)