Home
last modified time | relevance | path

Searched refs:FailedPrecondition (Results 1 – 25 of 104) sorted by relevance

12345

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_module_group_metadata.cc173 return FailedPrecondition("%s", ss.str()); in VerifyCompanionSets()
431 return FailedPrecondition("missing send for id : %d", channel.id); in VerifyChannelInstructions()
434 return FailedPrecondition("missing recv for id : %d", channel.id); in VerifyChannelInstructions()
437 return FailedPrecondition("missing send-done for id : %d", channel.id); in VerifyChannelInstructions()
440 return FailedPrecondition("missing recv-done for id : %d", channel.id); in VerifyChannelInstructions()
450 return FailedPrecondition("send/recv shapes do not match"); in VerifyChannelInstructions()
455 return FailedPrecondition("send instruction must have a device: %s", in VerifyChannelInstructions()
459 return FailedPrecondition("send_done instruction must have a device: %s", in VerifyChannelInstructions()
463 return FailedPrecondition( in VerifyChannelInstructions()
471 return FailedPrecondition("recv_done instruction must have a device: %s", in VerifyChannelInstructions()
[all …]
Dchannel_tracker.cc80 return FailedPrecondition( in RegisterSendInternal()
87 return FailedPrecondition( in RegisterSendInternal()
102 return FailedPrecondition( in RegisterRecvInternal()
110 return FailedPrecondition( in RegisterRecvInternal()
Dtransfer_manager.cc164 return FailedPrecondition( in TransferArrayToDeviceAsync()
185 return done(FailedPrecondition("%s", error)); in TransferArrayFromDevice()
189 FailedPrecondition("Allocation on device not large enough for array: " in TransferArrayFromDevice()
287 return FailedPrecondition( in TransferBufferFromDevice()
300 return FailedPrecondition( in TransferBufferToDevice()
/external/tensorflow/tensorflow/core/platform/
Dprotobuf_internal.h47 return errors::FailedPrecondition( in ParseAny()
52 return errors::FailedPrecondition("Failed to unpack: ", in ParseAny()
58 return errors::FailedPrecondition( in ParseAny()
63 return errors::FailedPrecondition("Failed to unpack: ", in ParseAny()
/external/tensorflow/tensorflow/core/platform/cloud/
Doauth_client.cc54 return errors::FailedPrecondition("'value' cannot be nullptr."); in ReadJsonValue()
58 return errors::FailedPrecondition( in ReadJsonValue()
69 return errors::FailedPrecondition( in ReadJsonString()
80 return errors::FailedPrecondition( in ReadJsonInt()
90 return errors::FailedPrecondition( in CreateSignature()
184 return errors::FailedPrecondition( in GetTokenFromServiceAccountJson()
239 return errors::FailedPrecondition( in GetTokenFromRefreshTokenJson()
272 return errors::FailedPrecondition( in ParseOAuthResponse()
284 return errors::FailedPrecondition("Unexpected Oauth token type: " + in ParseOAuthResponse()
Dgoogle_auth_provider.cc86 return errors::FailedPrecondition("'filename' cannot be nullptr."); in GetEnvironmentVariableFileName()
100 return errors::FailedPrecondition("'filename' cannot be nullptr."); in GetWellKnownFileName()
110 return errors::FailedPrecondition("Could not read $HOME."); in GetWellKnownFileName()
212 return errors::FailedPrecondition( in GetTokenFromFiles()
223 return errors::FailedPrecondition( in GetTokenFromFiles()
/external/tensorflow/tensorflow/tools/optimization/
Doptimization_pass_runner.cc87 return errors::FailedPrecondition("Invalid flags passed"); in RunMain()
92 return errors::FailedPrecondition("input_file_path is a required flag."); in RunMain()
95 return errors::FailedPrecondition("output_file_path is a required flag."); in RunMain()
98 return errors::FailedPrecondition("optimization_pass is a required flag."); in RunMain()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dif_op.cc151 errors::FailedPrecondition("Expected one input shape")); in Compile()
154 errors::FailedPrecondition("Expected tuple shape")); in Compile()
156 errors::FailedPrecondition("Expected one input shape")); in Compile()
159 errors::FailedPrecondition("Expected tuple shape")); in Compile()
186 errors::FailedPrecondition( in Compile()
196 errors::FailedPrecondition( in Compile()
252 errors::FailedPrecondition( in Compile()
Dcase_op.cc154 errors::FailedPrecondition("Expected one input shape")); in Compile()
160 errors::FailedPrecondition("Expected tuple shape")); in Compile()
162 errors::FailedPrecondition("Expected one input shape")); in Compile()
195 errors::FailedPrecondition( in Compile()
205 errors::FailedPrecondition("Mismatch in resource of 0 and ", in Compile()
264 errors::FailedPrecondition( in Compile()
Dwhile_op.cc388 errors::FailedPrecondition( in Compile()
418 errors::FailedPrecondition("Expected one input shape")); in Compile()
421 errors::FailedPrecondition("Expected tuple shape")); in Compile()
423 errors::FailedPrecondition("Expected one input shape")); in Compile()
426 errors::FailedPrecondition("Expected tuple shape")); in Compile()
546 errors::FailedPrecondition( in Compile()
/external/tensorflow/tensorflow/contrib/session_bundle/
Dsignature.cc54 return errors::FailedPrecondition( in GetSignatures()
82 return errors::FailedPrecondition( in GetClassificationSignature()
87 return errors::FailedPrecondition(strings::StrCat( in GetClassificationSignature()
107 return errors::FailedPrecondition( in GetNamedClassificationSignature()
157 return errors::FailedPrecondition( in GetRegressionSignature()
162 return errors::FailedPrecondition(strings::StrCat( in GetRegressionSignature()
/external/tensorflow/tensorflow/core/util/
Dmemmapped_file_system_writer.cc33 return errors::FailedPrecondition( in SaveTensor()
61 return errors::FailedPrecondition( in SaveProtobuf()
94 return errors::FailedPrecondition( in FlushAndClose()
Dmemmapped_file_system.cc91 return errors::FailedPrecondition("MemmappedEnv is not initialized"); in FileExists()
103 return errors::FailedPrecondition("MemmappedEnv is not initialized"); in NewRandomAccessFile()
118 return errors::FailedPrecondition("MemmappedEnv is not initialized"); in NewReadOnlyMemoryRegionFromFile()
132 return errors::FailedPrecondition("MemmappedEnv is not initialized"); in GetFileSize()
282 return errors::FailedPrecondition( in GetFileSystemForFile()
/external/tensorflow/tensorflow/core/kernels/
Dtraining_ops.cc477 errors::FailedPrecondition( in Compute()
519 errors::FailedPrecondition( in Compute()
643 errors::FailedPrecondition( in DoValidate()
647 errors::FailedPrecondition( in DoValidate()
651 errors::FailedPrecondition( in DoValidate()
790 errors::FailedPrecondition( in DoCompute()
794 errors::FailedPrecondition( in DoCompute()
798 errors::FailedPrecondition( in DoCompute()
929 errors::FailedPrecondition( in Compute()
1147 errors::FailedPrecondition( in Compute()
[all …]
Dinitializable_lookup_table.cc26 return errors::FailedPrecondition("Table not initialized."); in Find()
50 return errors::FailedPrecondition("Table already initialized."); in Initialize()
Drandom_crop_op.cc72 errors::FailedPrecondition( in Compute()
76 errors::FailedPrecondition( in Compute()
Dcolorspace_op.cc54 errors::FailedPrecondition( in Compute()
93 errors::FailedPrecondition( in Compute()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcusolver_context.cc61 return FailedPrecondition("cuSolver has not been initialized"); in CusolverStatusToStatus()
67 return FailedPrecondition("cuSolver architecture mismatch error"); in CusolverStatusToStatus()
81 return FailedPrecondition("cuSolver invalid license error"); in CusolverStatusToStatus()
/external/syzkaller/vendor/google.golang.org/grpc/codes/
Dcodes.go97 FailedPrecondition Code = 9 const
161 `"FAILED_PRECONDITION"`: FailedPrecondition,
Dcode_string.go43 case FailedPrecondition:
/external/tensorflow/tensorflow/core/framework/
Dop_gen_lib.cc386 return errors::FailedPrecondition("Argument ", new_arg.name(), in MergeApiDefs()
402 return errors::FailedPrecondition("Argument ", new_arg.name(), in MergeApiDefs()
411 return errors::FailedPrecondition( in MergeApiDefs()
419 return errors::FailedPrecondition( in MergeApiDefs()
443 return errors::FailedPrecondition("Attribute ", new_attr.name(), in MergeApiDefs()
/external/grpc-grpc/src/ruby/lib/grpc/
Derrors.rb66 codes[FAILED_PRECONDITION] = FailedPrecondition
154 class FailedPrecondition < BadStatus class
/external/tensorflow/tensorflow/core/common_runtime/
Deval_const_tensor.cc45 return errors::FailedPrecondition("Node does not have context."); in TryToInferTensorOutputFromInputShapes()
72 return errors::FailedPrecondition( in TryToInferTensorOutputFromInputShapes()
106 return errors::FailedPrecondition( in TryToInferTensorOutputFromInputShapes()
/external/tensorflow/tensorflow/contrib/cloud/kernels/
Dbigquery_reader_ops.cc170 return errors::FailedPrecondition("Invalid total number of rows."); in InitializeTotalNumberOfRows()
178 return errors::FailedPrecondition("Invalid number of partitions."); in InitializeNumberOfPartitions()
Dgcs_config_ops.cc53 return errors::FailedPrecondition("The GCS file system is not registered."); in RetrieveGcsFs()
148 return errors::FailedPrecondition( in GetToken()

12345