- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for EXPECT_FALSE (1.16 sec)
-
tensorflow/c/experimental/grappler/grappler_test.cc
tensorflow::OpInfo::TensorProperties in_props; Status s = tensorflow::BufferToMessage(in_props_buf[0], &in_props); TF_ASSERT_OK(s); EXPECT_EQ(DT_FLOAT, in_props.dtype()); EXPECT_FALSE(in_props.shape().unknown_rank()); EXPECT_EQ(2, in_props.shape().dim_size()); EXPECT_EQ(10, in_props.shape().dim(0).size()); EXPECT_EQ(1, in_props.shape().dim(1).size());
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Thu Apr 13 22:30:58 GMT 2023 - 11.6K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
if (oper == feed) { EXPECT_FALSE(found_placeholder); found_placeholder = true; } else if (oper == three) { EXPECT_FALSE(found_scalar_const); found_scalar_const = true; } else if (oper == add) { EXPECT_FALSE(found_add); found_add = true; } else if (oper == neg) { EXPECT_FALSE(found_neg); found_neg = true; } else {
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) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
status = env_->NewWritableFile(filenames[1], &file); if (!status.ok()) GTEST_SKIP() << "NewWritableFile() not supported: " << status; std::vector<Status> statuses; EXPECT_FALSE(env_->FilesExist(filenames, &statuses)); EXPECT_EQ(statuses.size(), filenames.size()); EXPECT_PRED2(UnimplementedOrReturnsCode, statuses[0], Code::OK); EXPECT_PRED2(UnimplementedOrReturnsCode, statuses[1], Code::OK);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_test.cc
TFE_MonitoringDeleteBuckets(buckets); TF_DeleteStatus(status); } TEST(CAPI, CancellationManager) { TFE_CancellationManager* c_mgr = TFE_NewCancellationManager(); EXPECT_FALSE(TFE_CancellationManagerIsCancelled(c_mgr)); TFE_CancelCallback callback1; callback1.callback = [](void* context) { ADD_FAILURE() << "Callback1 should be deregistered."; };
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 03:14:26 GMT 2023 - 31.5K bytes - Viewed (1) -
tensorflow/c/c_api_function_test.cc
OpDef op_def; op_def.ParseFromString(data); EXPECT_EQ(op_def.name(), func_name_); EXPECT_EQ(op_def.input_arg_size(), 1); EXPECT_EQ(op_def.output_arg_size(), 1); EXPECT_FALSE(op_def.is_stateful()); TF_DeleteBuffer(buffer); } void DefineStatefulFunction(const char* name, TF_Function** func) { std::unique_ptr<TF_Graph, decltype(&TF_DeleteGraph)> func_graph(
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6) -
tensorflow/c/eager/c_api_test.cc
CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); CHECK(tensorflow::unwrap(concatOp)->OpDef()); TFE_OpAddInput(concatOp, inputs[0], status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); EXPECT_FALSE(tensorflow::unwrap(concatOp)->OpDef()) << "Inference context is still present"; TFE_OpAddInput(concatOp, inputs[1], status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
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)