- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for define (0.26 sec)
-
tensorflow/c/eager/c_api.h
// Controls how to act when we try to run an operation on a given device but // some input tensors are not on that device. // LINT.IfChange // Note: Keep in sync with internal copy of enum in eager/context.h. typedef enum TFE_ContextDevicePlacementPolicy { // Running operations with input tensors on the wrong device will fail. TFE_DEVICE_PLACEMENT_EXPLICIT = 0, // Copy the tensor to the right device but log a warning. TFE_DEVICE_PLACEMENT_WARN = 1,
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) -
tensorflow/c/c_api.h
TF_ImportGraphDefOptions* opts, const char* prefix); // Set the execution device for nodes in `graph_def`. // Only applies to nodes where a device was not already explicitly specified. // `device` is copied and has no lifetime requirements. TF_CAPI_EXPORT extern void TF_ImportGraphDefOptionsSetDefaultDevice( TF_ImportGraphDefOptions* opts, const char* device); // Set whether to uniquify imported operation names. If true, imported operation
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
tensorflow/c/experimental/next_pluggable_device/c_api.h
// C API for device. The API is under active development and eventually // should allow registering a plugin device with TensorFlow. #ifdef __cplusplus extern "C" { #endif // TF_Device is a C wrapper to the C++ TF Device class. This is to be passed // through TF_OpKernelContext, and is opaque to plugin. typedef struct TF_Device TF_Device; typedef struct TF_VariableInfo TF_VariableInfo;
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Dec 20 20:01:06 GMT 2023 - 7.2K bytes - Viewed (0)