- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TF_SetRequestedDevice (0.39 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`.
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
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);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0)