- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for placement (0.26 sec)
-
tensorflow/c/eager/custom_device_testutil.h
#include "tensorflow/c/eager/c_api_experimental.h" #include "tensorflow/c/tf_status.h" void RegisterLoggingDevice(TFE_Context* context, const char* name, bool strict_scope_placement, bool* arrived_flag, bool* executed_flag, TF_Status* status); void AllocateLoggingDevice(const char* name, bool* arrived_flag, bool* executed_flag, TFE_CustomDevice** device,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 27 23:39:24 GMT 2020 - 1.6K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_tensor_handle.h
// `SummarizeValue` to resolving this handle and formatting the tensor. // // For example some tensor handles may represent distributed values, in which // case placement information is lost when resolving the handle. // // If false, a caller might implement pretty-printing by resolving and // iterating over the resulting tensor. This may still be viable if resolving
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Mar 10 21:56:24 GMT 2023 - 4.3K bytes - Viewed (0) -
tensorflow/c/eager/custom_device_test.cc
RegisterLoggingDevice(context.get(), custom0, /*strict_scope_placement=*/false, &arrived, &executed, status.get()); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); RegisterLoggingDevice(context.get(), custom1, /*strict_scope_placement=*/true, &arrived, &executed, status.get());
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 27 23:39:24 GMT 2020 - 18.4K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
TensorHandleSilentCopy(false, TFE_DEVICE_PLACEMENT_SILENT, TFE_DEVICE_PLACEMENT_SILENT, false); } TEST(CAPI, TensorHandleSilentCopyAsync) { TensorHandleSilentCopy(true, TFE_DEVICE_PLACEMENT_SILENT, TFE_DEVICE_PLACEMENT_SILENT, false); } TEST(CAPI, TensorHandleSilentCopyLocalPolicy) { TensorHandleSilentCopy(false, TFE_DEVICE_PLACEMENT_EXPLICIT,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1) -
tensorflow/c/eager/immediate_execution_context.h
DEVICE_PLACEMENT_EXPLICIT = 0, // Copy the tensor to the right device but log a warning. DEVICE_PLACEMENT_WARN = 1, // Silently copy the tensor, which has a performance cost since the operation // will be blocked till the copy completes. This is the default policy. DEVICE_PLACEMENT_SILENT = 2, // Placement policy which silently copies int32 tensors but not other dtypes.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 06 08:34:00 GMT 2023 - 12.3K bytes - Viewed (0) -
tensorflow/c/eager/custom_device_testutil.cc
void* device_info) { const char* requested_placement = TFE_OpGetDevice(original_op, s); if (TF_GetCode(s) != TF_OK) return; LoggingDevice* dev = reinterpret_cast<LoggingDevice*>(device_info); if (dev->strict_scope_placement && *requested_placement == '\0') { TF_SetStatus(s, TF_INTERNAL,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 03 20:47:31 GMT 2021 - 8.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_internal.h
// c_api_experimental.h struct TFE_ContextOptions { TF_SessionOptions session_options; // true if async execution is enabled. bool async = false; TFE_ContextDevicePlacementPolicy device_placement_policy{ TFE_DEVICE_PLACEMENT_SILENT}; // If true, use TFRT backend bool use_tfrt = false; // Whether to run elementary eager ops wrapped in a call op. bool run_eager_op_as_function = false;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jan 18 19:26:34 GMT 2023 - 1.9K bytes - Viewed (0) -
tensorflow/c/eager/abstract_operation.h
// it will be compatible with it: the name will be updated by device placement // logic to refer to the specific device chosen. // // Example: If one calls `op->SetDeviceName("/device:GPU")`, the value // returned by DeviceName should be "/device:GPU:*" until a particular GPU is // chosen for the operation by the device placement logic in the // executor. After that, the value returned by DeviceName will be a full
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jul 14 16:20:41 GMT 2021 - 6.8K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
TFE_DEVICE_PLACEMENT_EXPLICIT = 0, // Copy the tensor to the right device but log a warning. TFE_DEVICE_PLACEMENT_WARN = 1, // Silently copy the tensor, which has a performance cost since the operation // will be blocked till the copy completes. This is the default placement // policy. TFE_DEVICE_PLACEMENT_SILENT = 2, // Placement policy which silently copies int32 tensors but not other dtypes.
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/eager/c_api_cluster_test.cc
TF_Status* status = TF_NewStatus(); TFE_ContextOptions* opts = TFE_NewContextOptions(); TFE_ContextOptionsSetAsync(opts, static_cast<unsigned char>(async)); TFE_ContextOptionsSetDevicePlacementPolicy(opts, TFE_DEVICE_PLACEMENT_SILENT); TFE_Context* ctx = TFE_NewContext(opts, status); EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TFE_DeleteContextOptions(opts);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Apr 14 10:03:59 GMT 2023 - 19.3K bytes - Viewed (0)