/external/tensorflow/tensorflow/compiler/mlir/lite/utils/ |
D | perception_ops_utils.cc | 71 func_.eraseBody(); in RewriteFunc() 72 func_.addEntryBlock(); in RewriteFunc() 73 func_->setAttr(kTFImplements, in RewriteFunc() 74 StringAttr::get(func_.getContext(), kMaxUnpooling)); in RewriteFunc() 76 OpBuilder builder(func_.getBody()); in RewriteFunc() 82 func_.getLoc(), func_.getType().getResults(), func_.getArguments(), in RewriteFunc() 84 builder.create<ReturnOp>(func_.getLoc(), op.getResults()); in RewriteFunc() 91 if (func_.getNumArguments() != 2) { in VerifySignature() 92 return func_.emitError() in VerifySignature() 94 << func_.getNumArguments(); in VerifySignature() [all …]
|
D | nms_utils.cc | 43 func_->setAttr(kTFImplements, in RewriteFunc() 44 StringAttr::get(func_.getContext(), kTfNMSPadded)); in RewriteFunc() 45 Value boxes = func_.getArgument(0); in RewriteFunc() 46 Value scores = func_.getArgument(1); in RewriteFunc() 47 Value max_output_size = func_.getArgument(2); in RewriteFunc() 48 Value iou_threshold = func_.getArgument(3); in RewriteFunc() 49 Value score_threshold = func_.getArgument(4); in RewriteFunc() 50 auto output_type0 = func_.getType().getResult(0); in RewriteFunc() 51 auto output_type1 = func_.getType().getResult(1); in RewriteFunc() 53 OpBuilder builder(func_.getBody()); in RewriteFunc() [all …]
|
D | perception_ops_utils.h | 31 : func_(func), attr_(attr) {} in ConvertMaxUnpoolingFunc() 40 FuncOp func_; variable 47 explicit ConvertDenseImageWarpFunc(FuncOp func) : func_(func) {} in ConvertDenseImageWarpFunc() 54 FuncOp func_;
|
D | nms_utils.h | 36 explicit ConvertNMSPaddedFunc(FuncOp func) : func_(func) {} in ConvertNMSPaddedFunc() 43 FuncOp func_; 51 : func_(func), attr_(attr) {} in ConvertSSDPostProcessFunc() 69 FuncOp func_; variable
|
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | prepare_composite_functions_tf.cc | 73 explicit ConvertEmbeddedLookupFunc(FuncOp func) : func_(func) {} in ConvertEmbeddedLookupFunc() 76 func_->setAttr(kTFImplements, in RewriteFunc() 77 StringAttr::get(func_.getContext(), "embedding_lookup")); in RewriteFunc() 78 Value lookup = func_.getArgument(1); in RewriteFunc() 79 Value value = func_.getArgument(0); in RewriteFunc() 80 auto output_type = func_.getType().getResult(0); in RewriteFunc() 82 OpBuilder builder(func_.getBody()); in RewriteFunc() 84 func_.getLoc(), output_type, lookup, value); in RewriteFunc() 86 builder.create<mlir::ReturnOp>(func_.getLoc(), op.getResult()); in RewriteFunc() 90 if (func_.getNumArguments() != 2) { in VerifySignature() [all …]
|
/external/grpc-grpc/include/grpcpp/impl/codegen/ |
D | callback_common.h | 69 : call_(call), func_(std::move(f)), ops_(ops) { in CallbackWithStatusTag() 86 std::function<void(Status)> func_; variable 101 CatchingCallback(std::move(func_), std::move(status_)); in Run() 103 func_ = nullptr; // reset to clear this out for sure in Run() 126 : call_(call), func_(std::move(f)), ops_(ops) { in CallbackWithSuccessTag() 140 std::function<void(bool)> func_; variable 154 CatchingCallback(std::move(func_), ok); in Run() 156 func_ = nullptr; // reset to clear this out for sure in Run()
|
D | method_handler_impl.h | 59 : func_(func), service_(service) {} in RpcMethodHandler() 68 return func_(service_, param.server_context, &req, &rsp); in RunHandler() 93 func_; 107 : func_(func), service_(service) {} in ClientStreamingHandler() 113 return func_(service_, param.server_context, &reader, &rsp); in RunHandler() 137 func_; 150 : func_(func), service_(service) {} in ServerStreamingHandler() 160 return func_(service_, param.server_context, &req, &writer); in RunHandler() 183 func_; 199 : func_(func), write_needed_(WriteNeeded) {} in TemplatedBidiStreamingHandler() [all …]
|
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/impl/codegen/ |
D | callback_common.h | 86 : call_(call), func_(std::move(f)), ops_(ops) { in CallbackWithStatusTag() 107 std::function<void(Status)> func_; variable 125 auto func = std::move(func_); in Run() 127 func_ = nullptr; // reset to clear this out for sure in Run() 170 func_ = std::move(f); in Set() 180 func_ = nullptr; in Clear() 198 std::function<void(bool)> func_; variable 216 CatchingCallback(func_, ok); in Run()
|
D | method_handler.h | 105 : func_(func), service_(service) {} in RpcMethodHandler() 112 return func_(service_, in RunHandler() 134 func_; 148 : func_(func), service_(service) {} in ClientStreamingHandler() 156 return func_(service_, in RunHandler() 183 func_; 196 : func_(func), service_(service) {} in ServerStreamingHandler() 205 return func_(service_, in RunHandler() 250 func_; 266 : func_(func), write_needed_(WriteNeeded) {} in TemplatedBidiStreamingHandler() [all …]
|
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/impl/codegen/ |
D | callback_common.h | 86 : call_(call), func_(std::move(f)), ops_(ops) { in CallbackWithStatusTag() 107 std::function<void(Status)> func_; variable 125 auto func = std::move(func_); in Run() 127 func_ = nullptr; // reset to clear this out for sure in Run() 170 func_ = std::move(f); in Set() 180 func_ = nullptr; in Clear() 198 std::function<void(bool)> func_; variable 216 CatchingCallback(func_, ok); in Run()
|
D | method_handler.h | 105 : func_(func), service_(service) {} in RpcMethodHandler() 112 return func_(service_, in RunHandler() 134 func_; 148 : func_(func), service_(service) {} in ClientStreamingHandler() 156 return func_(service_, in RunHandler() 183 func_; 196 : func_(func), service_(service) {} in ServerStreamingHandler() 205 return func_(service_, in RunHandler() 250 func_; 266 : func_(func), write_needed_(WriteNeeded) {} in TemplatedBidiStreamingHandler() [all …]
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
D | task_io_service_operation.hpp | 34 func_(&owner, this, ec, bytes_transferred); in complete() 39 func_(0, this, asio::error_code(), 0); in destroy() 49 func_(func), in task_io_service_operation() 62 func_type func_; member in asio::detail::ASIO_INHERIT_TRACKED_HANDLER
|
/external/tensorflow/tensorflow/c/ |
D | c_api_function_test.cc | 69 func_(nullptr) {} in CApiFunctionTest() 74 TF_DeleteFunction(func_); in ~CApiFunctionTest() 182 ASSERT_EQ(func_, nullptr); in DefineT() 184 func_ = TF_GraphToFunction(func_graph_, func_name_, false, num_opers, in DefineT() 191 ASSERT_EQ(func_, nullptr); in DefineT() 196 ASSERT_NE(func_, nullptr); in DefineT() 197 ASSERT_EQ(std::string(func_name_), std::string(TF_FunctionName(func_))); in DefineT() 198 TF_GraphCopyFunction(host_graph_, func_, nullptr, s_); in DefineT() 231 EXPECT_TRUE(GetFunctionDef(func_, &fdef)); in fdef() 360 ASSERT_TRUE(GetFunctionDef(func_, &fdef)); in VerifyFDef() [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | partitioned_function_ops.cc | 45 func_(new NameAttrList), in PartitionedCallOp() 49 ctx, ctx->GetAttr(FunctionLibraryDefinition::kFuncAttr, func_.get())); in PartitionedCallOp() 138 const FunctionDef* fdef = flib->Find(func_->name()); in FillOutputDevices() 141 func_->name(), "\""); in FillOutputDevices() 198 func_->name(), optimization_options, std::placeholders::_6); in Instantiate() 226 FillOutputDevices(*lib, *cpu_device, AttrSlice(&func_->attr()), &opts)); in Instantiate() 229 lib->Instantiate(func_->name(), AttrSlice(&func_->attr()), opts, handle)); in Instantiate() 259 const string& func_name = func_->name(); in RunFunction()
|
/external/pigweed/pw_router/public/pw_router/ |
D | egress_function.h | 25 constexpr EgressFunction(Status (*func)(ConstByteSpan)) : func_(*func) {} in EgressFunction() 27 Status SendPacket(ConstByteSpan packet) final { return func_(packet); } in SendPacket() 30 Status (&func_)(ConstByteSpan);
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/c/ |
D | c_api_unified_experimental_mlir.cc | 225 func_(func) {} in MlirFunction() 237 FuncOp func_; member in mlir::TF::__anon2b880b700111::MlirFunction 250 func_ = FuncOp::create(builder_.getUnknownLoc(), name, in MlirFunctionContext() 252 module_->push_back(func_); in MlirFunctionContext() 253 builder_ = OpBuilder::atBlockBegin(func_.addEntryBlock()); in MlirFunctionContext() 282 FuncOp func_; member in mlir::TF::__anon2b880b700111::MlirFunctionContext 524 PassManager pm(func_.getContext()); in GetFunctionDef() 531 StatusScopedDiagnosticHandler diag_handler(func_.getContext()); in GetFunctionDef() 532 LogicalResult result = pm.run(func_->getParentOfType<ModuleOp>()); in GetFunctionDef() 539 ConvertMlirFunctionToFunctionLibraryDef(func_, configs, fdef_.get())); in GetFunctionDef() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/re2/util/ |
D | benchmark.h | 102 func_([func](int iters, int arg) { in Benchmark() 114 func_([func](int iters, int arg) { in Benchmark() 128 const std::function<void(int, int)>& func() const { return func_; } in func() 137 std::function<void(int, int)> func_; variable
|
/external/tensorflow/tensorflow/python/ops/ |
D | template.py | 41 func_, argument 156 func_, 165 func_, argument 213 func_ = tf_decorator.make_decorator(func_, 214 functools.partial(func_, **kwargs)) 221 func_, 227 func_,
|
/external/tensorflow/tensorflow/c/experimental/saved_model/core/revived_types/ |
D | tf_signature_def_function.cc | 39 : func_(std::move(func)), metadata_(std::move(metadata)) {} in TFSignatureDefFunction() 61 return func_->MakeCallOp(inputs, out); in MakeCallOp()
|
D | tf_concrete_function.cc | 38 : func_(std::move(func)), metadata_(std::move(metadata)) {} in TFConcreteFunction() 59 return func_->MakeCallOp(inputs, out); in MakeCallOp()
|
/external/libaom/libaom/test/ |
D | subtract_test.cc | 128 func_ = GET_PARAM(3); in SetUp() 157 HBDSubtractFunc func_; member in __anon7ee207a80111::AV1HBDSubtractBlockTest 176 func_(block_height_, block_width_, diff_, block_width_, src_, block_width_, in CheckResult() 205 func_(block_height_, block_width_, diff_, block_width_, src_, block_width_, in RunForSpeed()
|
D | convolve_round_test.cc | 66 : func_ref_(GET_PARAM(0)), func_(GET_PARAM(1)), data_path_(GET_PARAM(2)) { in ConvolveRoundTest() 118 func_(src_, src_stride, dst, dst_stride, w, h, bits)); in ConvolveRoundingRun() 160 ConvolveRoundFunc func_; member in __anone9a6def30111::ConvolveRoundTest
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | reduce_dataset_op_test.cc | 39 func_(std::move(func)), in ReduceDatasetParams() 71 *attr_vector = {{"f", func_}, in GetAttributes() 87 FunctionDefHelper::AttrValueWrapper func_; member in tensorflow::data::__anon3adef36e0111::ReduceDatasetParams
|
D | flat_map_dataset_op_test.cc | 36 func_(std::move(func)), in FlatMapDatasetParams() 59 *attr_vector = {{FlatMapDatasetOp::kFunc, func_}, in GetAttributes() 74 FunctionDefHelper::AttrValueWrapper func_; member in tensorflow::data::__anonae9e6fba0111::FlatMapDatasetParams
|
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/ |
D | quantization_context.cc | 47 : func_(func), target_spec_(spec) { in QuantizeContext() 63 func_.walk([&](quant::QuantizeRegionOp op) { all_ops.push_back(op); }); in GetAllOps() 123 MLIRContext *context = func_.getContext(); in Finalize() 124 func_.walk([&](quant::QuantizeRegionOp op) { in Finalize() 162 func_.walk([&](QuantizeRegionOp op) { in DumpStates()
|