Home
last modified time | relevance | path

Searched refs:TF_INVALID_ARGUMENT (Results 1 – 25 of 35) sorted by relevance

12

/external/tensorflow/tensorflow/c/
Dwhile_loop_test.cc299 ExpectError(TF_INVALID_ARGUMENT, in TEST_F()
307 ExpectError(TF_INVALID_ARGUMENT, in TEST_F()
319 ExpectError(TF_INVALID_ARGUMENT, in TEST_F()
328 ExpectError(TF_INVALID_ARGUMENT, in TEST_F()
338 ExpectError(TF_INVALID_ARGUMENT, in TEST_F()
359 ExpectError(TF_INVALID_ARGUMENT, in TEST_F()
381 ExpectError(TF_INVALID_ARGUMENT, "TF_WhileParams `name` field is null"); in TEST_F()
390 ExpectError(TF_INVALID_ARGUMENT, in TEST_F()
402 ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)); in TEST_F()
Dtf_status_helper_test.cc28 ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s)); in TEST()
Dtf_status.h46 TF_INVALID_ARGUMENT = 3, enumerator
Dc_api_function_test.cc891 EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)); in TEST_F()
1011 EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)); in TEST_F()
1066 EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)); in TEST_F()
1093 EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)); in TEST_F()
1130 EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)); in TEST_F()
1167 EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)); in TEST_F()
1185 EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)); in TEST_F()
1206 EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)); in TEST_F()
1440 EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)); in TEST_F()
1448 EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)); in TEST_F()
[all …]
Dops.cc147 TF_SetStatus(status, TF_INVALID_ARGUMENT, "input index out of range"); in TF_ShapeInferenceContextGetInput()
167 TF_SetStatus(status, TF_INVALID_ARGUMENT, "output index out of range"); in TF_ShapeInferenceContextSetOutput()
Dtf_status_helper.cc37 TF_SetStatus(tf_status, TF_INVALID_ARGUMENT, message); in Set_TF_Status_from_Status()
Dc_api_test.cc283 EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s)) << TF_Message(s); in TEST()
328 EXPECT_EQ(TF_INVALID_ARGUMENT, in TEST()
436 EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s)) << TF_Message(s); in TEST()
441 EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s)) << TF_Message(s); in TEST()
486 EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s)); in TEST()
1282 ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)) << TF_Message(s_); in VerifyCollocation()
1863 ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)) << TF_Message(s_); in TEST_F()
1868 ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)) << TF_Message(s_); in TEST_F()
1873 ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)) << TF_Message(s_); in TEST_F()
1878 ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)) << TF_Message(s_); in TEST_F()
[all …]
/external/tensorflow/tensorflow/c/eager/
Dc_api_unified_experimental_eager.cc66 TF_SetStatus(s, TF_INVALID_ARGUMENT, msg.c_str()); in TF_AbstractTensorGetEagerTensor()
78 TF_SetStatus(s, TF_INVALID_ARGUMENT, msg.c_str()); in TF_ExecutionContextGetTFEContext()
Dc_api_test.cc515 ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(status.get())); in TEST()
522 ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(status.get())); in TEST()
529 ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(status.get())); in TEST()
536 ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(status.get())); in TEST()
543 ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(status.get())); in TEST()
1655 CHECK_EQ(TF_INVALID_ARGUMENT, TF_GetCode(status)) << TF_Message(status); in TEST()
1657 CHECK_EQ(TF_INVALID_ARGUMENT, TF_GetCode(status)) << TF_Message(status); in TEST()
/external/tensorflow/tensorflow/c/kernels/
Dhistogram_summary_op.cc83 TF_SetStatus(status.get(), TF_INVALID_ARGUMENT, "tags must be scalar"); in HistogramSummaryOp_Compute()
95 TF_SetStatus(status.get(), TF_INVALID_ARGUMENT, err.str().c_str()); in HistogramSummaryOp_Compute()
101 TF_SetStatus(status.get(), TF_INVALID_ARGUMENT, err.str().c_str()); in HistogramSummaryOp_Compute()
Dmerge_summary_op.cc68 TF_SetStatus(status.get(), TF_INVALID_ARGUMENT, in MergeSummaryOp_Compute()
80 TF_SetStatus(status.get(), TF_INVALID_ARGUMENT, err.str().c_str()); in MergeSummaryOp_Compute()
Dbitcast_op.cc73 TF_SetStatus(s, TF_INVALID_ARGUMENT, err.str().c_str()); in BitcastOp_Create()
106 TF_SetStatus(status, TF_INVALID_ARGUMENT, err.str().c_str()); in BitcastOp_Compute()
Dsummary_op.cc83 TF_SetStatus(params.status, TF_INVALID_ARGUMENT, err.str().c_str()); in ScalarSummaryOp_Compute()
/external/tensorflow/tensorflow/c/kernels/ops/
Dbitcast.cc34 TF_SetStatus(status, TF_INVALID_ARGUMENT, err.str().c_str()); in ComputeNewShape()
54 TF_SetStatus(status, TF_INVALID_ARGUMENT, err.str().c_str()); in ComputeNewShape()
/external/tensorflow/tensorflow/c/eager/parallel_device/
Dparallel_device.cc81 TF_SetStatus(status, TF_INVALID_ARGUMENT, message.c_str()); in ExecuteWithSpecialOps()
94 TF_SetStatus(status, TF_INVALID_ARGUMENT, message.c_str()); in ExecuteWithSpecialOps()
119 TF_SetStatus(status, TF_INVALID_ARGUMENT, message.c_str()); in ExecuteWithSpecialOps()
123 TF_SetStatus(status, TF_INVALID_ARGUMENT, in ExecuteWithSpecialOps()
Dparallel_device_test.cc331 ASSERT_TRUE(TF_GetCode(status.get()) == TF_INVALID_ARGUMENT) in TEST()
345 ASSERT_TRUE(TF_GetCode(status.get()) == TF_INVALID_ARGUMENT) in TEST()
359 ASSERT_TRUE(TF_GetCode(status.get()) == TF_INVALID_ARGUMENT) in TEST()
378 ASSERT_TRUE(TF_GetCode(status.get()) == TF_INVALID_ARGUMENT) in TEST()
Dparallel_device_lib.h218 status, TF_INVALID_ARGUMENT, in ScalarsFromSequence()
/external/tensorflow/tensorflow/java/src/main/native/
Dexception_jni.cc52 case TF_INVALID_ARGUMENT: in exceptionClassName()
/external/tensorflow/tensorflow/python/lib/core/
Dpy_exception_registry.cc45 TF_INVALID_ARGUMENT, in Init()
/external/tensorflow/tensorflow/compiler/mlir/python/
Dmlir.cc58 TF_SetStatus(status, TF_INVALID_ARGUMENT, in RunPassPipelineOnModule()
260 TF_SetStatus(status, TF_INVALID_ARGUMENT, in ExperimentalRunPassPipeline()
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/gcs/
Dgcs_filesystem.cc79 TF_SetStatus(status, TF_INVALID_ARGUMENT, in ParseGCSPath()
86 TF_SetStatus(status, TF_INVALID_ARGUMENT, in ParseGCSPath()
95 TF_SetStatus(status, TF_INVALID_ARGUMENT, in ParseGCSPath()
693 TF_SetStatus(status, TF_INVALID_ARGUMENT, "File is empty"); in NewReadOnlyMemoryRegionFromFile()
702 status, TF_INVALID_ARGUMENT, in StatForObject()
799 return TF_SetStatus(status, TF_INVALID_ARGUMENT, "Not a directory!"); in FolderExists()
805 if (TF_GetCode(status) != TF_OK && TF_GetCode(status) != TF_INVALID_ARGUMENT) in FolderExists()
807 if (TF_GetCode(status) == TF_INVALID_ARGUMENT) { in FolderExists()
Dgcs_filesystem_test.cc248 ASSERT_EQ(TF_GetCode(status_), TF_INVALID_ARGUMENT); in TEST_F()
252 ASSERT_EQ(TF_GetCode(status_), TF_INVALID_ARGUMENT); in TEST_F()
255 ASSERT_EQ(TF_GetCode(status_), TF_INVALID_ARGUMENT); in TEST_F()
376 ASSERT_EQ(TF_GetCode(status_), TF_INVALID_ARGUMENT) << TF_Message(status_); in TEST_F()
/external/tensorflow/tensorflow/cc/experimental/base/public/
Dtensor.h164 status->SetStatus(TF_INVALID_ARGUMENT, in FromBuffer()
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc236 TF_SetStatus(status, TF_INVALID_ARGUMENT, \
265 status, TF_INVALID_ARGUMENT, in PARSE_VALUE()
305 status, TF_INVALID_ARGUMENT, in ParseDimensionValue()
339 status, TF_INVALID_ARGUMENT, in ParseStringValue()
365 status, TF_INVALID_ARGUMENT, in ParseTypeValue()
382 status, TF_INVALID_ARGUMENT, in SetOpAttrList()
432 status, TF_INVALID_ARGUMENT, in SetOpAttrList()
500 status, TF_INVALID_ARGUMENT, in SetOpAttrList()
667 TF_SetStatus(status, TF_INVALID_ARGUMENT, in SetOpAttrScalar()
708 status, TF_INVALID_ARGUMENT, in SetOpAttrScalar()
[all …]
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/s3/
Ds3_filesystem.cc91 TF_SetStatus(status, TF_INVALID_ARGUMENT, in ParseS3Path()
98 TF_SetStatus(status, TF_INVALID_ARGUMENT, in ParseS3Path()
107 TF_SetStatus(status, TF_INVALID_ARGUMENT, in ParseS3Path()
731 return TF_SetStatus(status, TF_INVALID_ARGUMENT, "File is empty"); in NewReadOnlyMemoryRegionFromFile()

12