- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TF_SetRequestedDevice (0.17 sec)
-
tensorflow/c/c_api.h
TF_CAPI_EXPORT extern void TF_SetFullType(TF_Graph* graph, TF_Operation* op, const TF_Buffer* full_type_proto); // Set the requested device for `graph`. TF_CAPI_EXPORT extern void TF_SetRequestedDevice(TF_Graph* graph, TF_Operation* op, const char* device); // Remove all the control inputs from `op` in `graph`.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
tensorflow/c/c_api.cc
full_type.ParseFromArray(full_type_proto->data, full_type_proto->length); *op->node.mutable_def()->mutable_experimental_type() = full_type; RecordMutation(graph, *op, "setting fulltype"); } void TF_SetRequestedDevice(TF_Graph* graph, TF_Operation* op, const char* device) { using tensorflow::RecordMutation; mutex_lock l(graph->mu); op->node.set_requested_device(device);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K bytes - Viewed (0)