- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for failure (0.65 sec)
-
tensorflow/c/experimental/gradients/array_grad_test.cc
{x1.get(), x2.get()}, absl::MakeSpan(outputs), UseFunction()); ASSERT_EQ(errors::OK, status_.code()) << status_.message(); EXPECT_EQ(outputs[0], nullptr); ASSERT_NO_FATAL_FAILURE(CheckTensorValue(outputs[1], {1.0f}, /*dims*/ {}, /*abs_error*/ 0)); outputs[1]->Unref(); } #ifdef PLATFORM_GOOGLE INSTANTIATE_TEST_SUITE_P(
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/c_api_distributed_test.cc
tensorflow::FunctionLibraryDefinition* flib_def, std::vector<std::string>* control_ret_node_names, bool* control_rets_updated) override { // Inject failure to function instantiation if finding a node that contains // the given node name (error_node_) and requested device (error_device_). for (const auto node : graph->get()->nodes()) {
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
// would otherwise deadlock). if (TF_GetCode(status) != TF_OK && (first_bad_status == nullptr // Prefer propagating non-cancellation related statuses to avoid // shadowing the original failure. || TF_GetCode(first_bad_status.get()) == TF_CANCELLED)) { first_bad_status.reset(TF_NewStatus()); TF_SetStatus(first_bad_status.get(), TF_GetCode(status), TF_Message(status));
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) -
tensorflow/c/experimental/gradients/nn_grad_test.cc
immediate_execution_ctx_.get(), X_vals, X_dims, 2, &X_raw); ASSERT_EQ(errors::OK, status_.code()) << status_.message(); X.reset(X_raw); } ASSERT_NO_FATAL_FAILURE(CompareNumericalAndAutodiffGradients( ReluModel, ReluGradModel, immediate_execution_ctx_.get(), {X.get()}, UseFunction())); // Mathematically, Relu isn't differentiable at `0`. So `gradient_checker`
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 8.3K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
EXPECT_FALSE(found_scalar_const); found_scalar_const = true; } else if (IsAddN(n, 2)) { EXPECT_FALSE(found_add); found_add = true; } else { ADD_FAILURE() << "Unexpected NodeDef: " << n.DebugString(); } } EXPECT_TRUE(found_placeholder); EXPECT_TRUE(found_scalar_const); EXPECT_TRUE(found_add); // Add another oper to the graph.
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3)