- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 21 for Lesage (0.2 sec)
-
tensorflow/c/eager/c_api_experimental.cc
return; } status->status = coord_agent->DeleteKeyValue(key); } void TFE_ReportErrorToCluster(TFE_Context* ctx, int error_code, const char* error_message, TF_Status* status) { tensorflow::ImmediateExecutionDistributedManager* dist_mgr = tensorflow::unwrap(ctx)->GetDistributedManager(); tsl::CoordinationServiceAgent* coord_agent =
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 11 23:52:39 GMT 2024 - 35.9K bytes - Viewed (3) -
ci/official/utilities/setup_macos.sh
# limitations under the License. # ============================================================================== # # macOS specific setup for all TF scripts. # # Mac version of Core utilities differ in usage. Since our scripts are written # with the GNU style, we need to set GNU utilities to be default on Mac. if [[ -n "$(which grealpath)" ]] && [[ -n "$(which gstat)" ]]; then alias realpath=grealpath alias stat=gstat
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 15:23:28 GMT 2024 - 6.2K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/custom_gradient_test.cc
ASSERT_EQ(errors::OK, s.code()) << s.message(); ctx.reset(ctx_raw); } AbstractTensorHandlePtr x; { AbstractTensorHandle* x_raw = nullptr; Status s = TestScalarTensorHandle<float, TF_FLOAT>(ctx.get(), 1.0f, &x_raw); ASSERT_EQ(errors::OK, s.code()) << s.message(); x.reset(x_raw); } // Pseudo-code: // // tape.watch(x)
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 4.8K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/grad_test_helper.cc
&numerical_grad_raw); ASSERT_EQ(errors::OK, s.code()) << s.message(); numerical_grad.reset(numerical_grad_raw); } TF_Tensor* numerical_tensor; s = GetValue(numerical_grad.get(), &numerical_tensor); ASSERT_EQ(errors::OK, s.code()) << s.message(); auto num_elem_numerical = TF_TensorElementCount(numerical_tensor); TF_Tensor* analytical_tensor;
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 5K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
} } } auto usage_count_it = state.tensor_usage_counts.find(id); if (usage_count_it == state.tensor_usage_counts.end()) { VLOG(1) << "Tensor " << id << " not used"; continue; } usage_count_it->second--; if (usage_count_it->second > 0) { VLOG(1) << "Tensor " << id << " usage count " << usage_count_it->second; continue; }
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 02 12:40:29 GMT 2024 - 47.2K bytes - Viewed (1) -
tensorflow/c/c_api_experimental.cc
if (!status->status.ok()) { return 0; } return op_reg_data->op_def.is_stateful(); } void TF_InitMain(const char* usage, int* argc, char*** argv) { tensorflow::port::InitMain(usage, argc, argv); } int TF_PickUnusedPortOrDie() { return tensorflow::internal::PickUnusedPortOrDie(); } TFE_TensorHandle* TFE_NewTensorHandleFromScalar(TF_DataType data_type,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 29.4K bytes - Viewed (0) -
configure.py
contain a complex error message if error_msg does not provide enough information. In that case, set suppress_default_error to True. error_msg: (String) String with one and only one '%s'. Formatted with each invalid response upon check_success(input) failure. suppress_default_error: (Bool) Suppress the above error message in favor of one from the check_success function.
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 18:25:36 GMT 2024 - 53.8K bytes - Viewed (1) -
tensorflow/c/eager/gradients_test.cc
&num_retvals, &forward_op, tape.get(), registry); ASSERT_EQ(errors::OK, s.code()) << s.message(); string read_message; s = forward_op.attrs.Get("message", &read_message); ASSERT_EQ(errors::OK, s.code()) << s.message(); ASSERT_EQ(read_message, message); } Status RecordOperationWithNullGradientFunctionModel( AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> inputs,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_distributed_test.cc
ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); TFE_OpAddInput(func, packed_handle, status); ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); if (remote) { TFE_OpSetDevice(func, task1_name, status); ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); } TFE_TensorHandle* retvals[1] = {nullptr}; int num_retvals = 1; TFE_Execute(func, &retvals[0], &num_retvals, status);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 23.5K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
TF_SetStatus(first_bad_status.get(), TF_GetCode(async_wait_status.get()), TF_Message(async_wait_status.get())); } } if (first_bad_status != nullptr) { TF_SetStatus(status, TF_GetCode(first_bad_status.get()), TF_Message(first_bad_status.get())); } } absl::optional<std::vector<std::unique_ptr<ParallelTensor>>> ParallelDevice::Join(
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Feb 09 07:47:20 GMT 2024 - 25.4K bytes - Viewed (1)