Home
last modified time | relevance | path

Searched refs:op_ (Results 1 – 25 of 64) sorted by relevance

123

/third_party/mindspore/mindspore/lite/src/delegate/npu/op/
Darithmetic_self_npu.cc35 op_ = CreateOperator<hiai::op::Cos>(name_); in Init()
38 op_ = CreateOperator<hiai::op::Log>(name_); in Init()
41 op_ = CreateOperator<hiai::op::Square>(name_); in Init()
44 op_ = CreateOperator<hiai::op::Sqrt>(name_); in Init()
47 op_ = CreateOperator<hiai::op::Rsqrt>(name_); in Init()
50 op_ = CreateOperator<hiai::op::Sin>(name_); in Init()
53 op_ = CreateOperator<hiai::op::LogicalNot>(name_); in Init()
56 op_ = CreateOperator<hiai::op::Floor>(name_); in Init()
59 op_ = CreateOperator<hiai::op::Ceil>(name_); in Init()
62 op_ = CreateOperator<hiai::op::Round>(name_); in Init()
[all …]
Darithmetic_npu.cc55 op_ = CreateOperator<hiai::op::Mul>(name_); in Init()
59 op_ = CreateOperator<hiai::op::Add>(name_); in Init()
63 op_ = CreateOperator<hiai::op::Sub>(name_); in Init()
67 op_ = CreateOperator<hiai::op::RealDiv>(name_); in Init()
71 op_ = CreateOperator<hiai::op::FloorMod>(name_); in Init()
74 op_ = CreateOperator<hiai::op::FloorDiv>(name_); in Init()
77 op_ = CreateOperator<hiai::op::LogicalAnd>(name_); in Init()
80 op_ = CreateOperator<hiai::op::LogicalOr>(name_); in Init()
83 op_ = CreateOperator<hiai::op::Maximum>(name_); in Init()
86 op_ = CreateOperator<hiai::op::Minimum>(name_); in Init()
[all …]
Dscale_npu.cc53 op_ = new (std::nothrow) hiai::op::Scale(name_); in Init()
55 op_ = new (std::nothrow) hiai::op::Mul(name_); in Init()
57 if (op_ == nullptr) { in Init()
69 auto ret = SetActivation(op_); in Init()
83 auto ret = ConvertScaleToMul(npu_inputs, op_, in_tensors); in SetNPUInputs()
90 auto scale_op = reinterpret_cast<hiai::op::Scale *>(op_); in SetNPUInputs()
101 return op_; in GetNPUOp()
164 if (op_ != nullptr) { in ~ScaleNPUOp()
165 delete op_; in ~ScaleNPUOp()
166 op_ = nullptr; in ~ScaleNPUOp()
/third_party/grpc/src/cpp/common/
Dchannel_filter.h111 explicit TransportOp(grpc_transport_op* op) : op_(op) {} in TransportOp()
113 grpc_transport_op* op() const { return op_; } in op()
117 return op_->disconnect_with_error; in disconnect_with_error()
119 bool send_goaway() const { return op_->goaway_error != GRPC_ERROR_NONE; } in send_goaway()
124 grpc_transport_op* op_; // Not owned.
134 : op_(op), in TransportStreamOpBatch()
152 grpc_transport_stream_op_batch* op() const { return op_; } in op()
154 grpc_closure* on_complete() const { return op_->on_complete; } in on_complete()
155 void set_on_complete(grpc_closure* closure) { op_->on_complete = closure; } in set_on_complete()
158 return op_->send_initial_metadata ? &send_initial_metadata_ : nullptr; in send_initial_metadata()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/internal/
Dflag.cc102 flags_internal::Delete(flag_impl_.op_, value_.heap_allocated); in ~FlagState()
155 std::memcpy(buf.data(), &default_value_, Sizeof(op_)); in Init()
160 std::memcpy(buf.data() + Sizeof(op_), &initialized, in Init()
194 FlagFastTypeId lhs_type_id = flags_internal::FastTypeId(op_); in AssertValidType()
203 flags_internal::RuntimeTypeId(op_); in AssertValidType()
221 res = flags_internal::Clone(op_, default_value_.dynamic_value); in MakeInitValue()
224 res = flags_internal::Alloc(op_); in MakeInitValue()
228 res = flags_internal::Clone(op_, &default_value_); in MakeInitValue()
231 return {res, DynValueDeleter{op_}}; in MakeInitValue()
240 std::memcpy(&one_word_val, src, Sizeof(op_)); in StoreValue()
[all …]
/third_party/abseil-cpp/absl/flags/internal/
Dflag.cc101 flags_internal::Delete(flag_impl_.op_, value_.heap_allocated); in ~FlagState()
161 std::memcpy(buf.data(), &default_value_, Sizeof(op_)); in Init()
190 FlagFastTypeId lhs_type_id = flags_internal::FastTypeId(op_); in AssertValidType()
199 flags_internal::RuntimeTypeId(op_); in AssertValidType()
217 res = flags_internal::Clone(op_, default_value_.dynamic_value); in MakeInitValue()
220 res = flags_internal::Alloc(op_); in MakeInitValue()
224 res = flags_internal::Clone(op_, &default_value_); in MakeInitValue()
227 return {res, DynValueDeleter{op_}}; in MakeInitValue()
233 Copy(op_, src, AlignedBufferValue()); in StoreValue()
237 std::memcpy(&one_word_val, src, Sizeof(op_)); in StoreValue()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/callback/
Dcallback_manager.cc31 op_ = op; in Init()
45 RETURN_UNEXPECTED_IF_NULL(op_); in Begin()
54 RETURN_IF_NOT_OK(op_->WaitForWorkers()); in Begin()
65 RETURN_UNEXPECTED_IF_NULL(op_); in EpochBegin()
74 RETURN_IF_NOT_OK(op_->WaitForWorkers()); in EpochBegin()
85 RETURN_UNEXPECTED_IF_NULL(op_); in StepBegin()
95 RETURN_IF_NOT_OK(op_->WaitForWorkers()); in StepBegin()
106 RETURN_UNEXPECTED_IF_NULL(op_); in End()
115 RETURN_IF_NOT_OK(op_->WaitForWorkers()); in End()
126 RETURN_UNEXPECTED_IF_NULL(op_); in EpochEnd()
[all …]
/third_party/boost/boost/python/
Doperators.hpp168 struct operator_l<op_##id> \
184 struct operator_r<op_##id> \
205 inline detail::operator_<detail::op_##id,L,R> \
208 return detail::operator_<detail::op_##id,L,R>(); \
278 struct operator_l<op_##id> \
298 inline detail::operator_<detail::op_##id,self_t,R> \
301 return detail::operator_<detail::op_##id,self_t,R>(); \
320 struct operator_1<op_##id> \
336 inline detail::operator_<detail::op_##id> \
339 return detail::operator_<detail::op_##id>(); \
/third_party/re2/re2/
Dregexp.h321 RegexpOp op() { return static_cast<RegexpOp>(op_); } in op()
334 int min() { DCHECK_EQ(op_, kRegexpRepeat); return min_; } in min()
335 int max() { DCHECK_EQ(op_, kRegexpRepeat); return max_; } in max()
336 Rune rune() { DCHECK_EQ(op_, kRegexpLiteral); return rune_; } in rune()
337 CharClass* cc() { DCHECK_EQ(op_, kRegexpCharClass); return cc_; } in cc()
338 int cap() { DCHECK_EQ(op_, kRegexpCapture); return cap_; } in cap()
339 const std::string* name() { DCHECK_EQ(op_, kRegexpCapture); return name_; } in name()
340 Rune* runes() { DCHECK_EQ(op_, kRegexpLiteralString); return runes_; } in runes()
341 int nrunes() { DCHECK_EQ(op_, kRegexpLiteralString); return nrunes_; } in nrunes()
342 int match_id() { DCHECK_EQ(op_, kRegexpHaveMatch); return match_id_; } in match_id()
[all …]
Dprefilter.h39 Op op() { return op_; } in op()
46 DCHECK(op_ == AND || op_ == OR); in subs()
87 Op op_; variable
Dprefilter.cc29 op_ = op; in Prefilter()
31 if (op_ == AND || op_ == OR) in Prefilter()
47 if (op_ != AND && op_ != OR) { in Simplify()
53 if (op_ == AND) in Simplify()
54 op_ = ALL; // AND of nothing is true in Simplify()
56 op_ = NONE; // OR of nothing is false in Simplify()
664 switch (op_) { in DebugString()
666 LOG(DFATAL) << "Bad op in Prefilter::DebugString: " << op_; in DebugString()
667 return StringPrintf("op%d", op_); in DebugString()
/third_party/boost/boost/asio/detail/
Dblocking_executor_op.hpp53 boost::asio::detail::mutex::scoped_lock lock(op_->mutex_); in ~do_complete_cleanup()
54 op_->is_complete_ = true; in ~do_complete_cleanup()
55 op_->event_.unlock_and_signal_one_for_destruction(lock); in ~do_complete_cleanup()
58 blocking_executor_op_base* op_; member
/third_party/boost/libs/asio/include/boost/asio/detail/
Dblocking_executor_op.hpp53 boost::asio::detail::mutex::scoped_lock lock(op_->mutex_); in ~do_complete_cleanup()
54 op_->is_complete_ = true; in ~do_complete_cleanup()
55 op_->event_.unlock_and_signal_one_for_destruction(lock); in ~do_complete_cleanup()
58 blocking_executor_op_base* op_; member
/third_party/boost/libs/asio/include/boost/asio/ssl/detail/
Dio.hpp104 op_(op), in io_op()
116 op_(other.op_), in io_op()
128 op_(BOOST_ASIO_MOVE_CAST(Operation)(other.op_)), in io_op()
146 switch (want_ = op_(core_.engine_, ec_, bytes_transferred_)) in operator ()()
287 op_.call_handler(handler_, in operator ()()
297 op_.call_handler(handler_, core_.engine_.map_error_code(ec_), 0); in operator ()()
304 Operation op_; member in boost::asio::ssl::detail::io_op
/third_party/boost/boost/asio/ssl/detail/
Dio.hpp104 op_(op), in io_op()
116 op_(other.op_), in io_op()
128 op_(BOOST_ASIO_MOVE_CAST(Operation)(other.op_)), in io_op()
146 switch (want_ = op_(core_.engine_, ec_, bytes_transferred_)) in operator ()()
287 op_.call_handler(handler_, in operator ()()
297 op_.call_handler(handler_, core_.engine_.map_error_code(ec_), 0); in operator ()()
304 Operation op_; member in boost::asio::ssl::detail::io_op
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/expanders/
Dutils.h45 std::string op_; variable
70 MS_LOG(INFO) << "Unmatched format for op " << e.op_; in Check()
85 MS_LOG(INFO) << "attr " << a << " does not exist. op " << e.op_; in Check()
115 MS_LOG(INFO) << "unsupported format for op " << e.op_; in Check()
Dutils.cc63 oss << "Op " << this->op_ << "'s output shape ["; in CheckOutputs()
76 …MS_LOG(INFO) << "Op " << this->op_ << "'s output type [" << outputs[i]->type << "] is wrong, expec… in CheckOutputs()
81 …MS_LOG(INFO) << "Op " << this->op_ << "'s output format [" << outputs[i]->format << "] is wrong, e… in CheckOutputs()
/third_party/boost/boost/spirit/home/classic/phoenix/
Dcomposite.hpp157 composite(OperationT const& op_) in composite()
158 : op(op_) {} in composite()
214 composite(OperationT const& op_, in composite()
216 : op(op_), a(a_) {} in composite()
275 composite(OperationT const& op_, in composite()
277 : op(op_), a(a_), b(b_) {} in composite()
338 composite(OperationT const& op_, in composite()
340 : op(op_), a(a_), b(b_), c(c_) {} in composite()
401 composite(OperationT const& op_, in composite()
403 : op(op_), a(a_), b(b_), c(c_), d(d_) {} in composite()
[all …]
/third_party/ffmpeg/libavcodec/x86/
Dh264_qpel_8bit.asm87 op_%1h m0, [r0], m6
147 op_%1 m0, [r0], m4
190 op_%1h m2, [r0], m4
236 op_%1h m0, [r0], m6
300 op_%1 m0, [r0], m4
347 op_%1h m2, [r0], m4
378 op_%1h m6, [r0], m0 ; 1
533 op_%1h m0, [r1], m7
625 op_%1 m0, [r0], m7
666 op_%1h m0, [r0], m7
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ir/data/
Dtransforms_ir.cc147 : op_(op), constant_(constant), dtype_(dtype) {} in MaskOperation()
158 std::shared_ptr<TensorOp> MaskOperation::Build() { return std::make_shared<MaskOp>(op_, constant_, … in Build()
201 PreBuiltOperation::PreBuiltOperation(std::shared_ptr<TensorOp> tensor_op) : op_(std::move(tensor_op… in PreBuiltOperation()
210 std::shared_ptr<TensorOp> PreBuiltOperation::Build() { return op_; } in Build()
212 std::string PreBuiltOperation::Name() const { return op_ ? op_->Name() : kPreBuiltOperation; } in Name()
215 RETURN_IF_NOT_OK(op_->to_json(out_json)); in to_json()
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dinstruction.h39 spv::Op opcode() const { return op_; } in opcode()
48 spv::Op op_ = spv::Op::OpNop;
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/
Drepeat_node.cc30 : repeat_count_(count), reset_ancestor_(nullptr), op_(nullptr) { in RepeatNode()
46 op_ = new_op; in Build()
55 reset_ancestor_->op_->AddToEoeList(new_op); in Build()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/tensor_layout/
Dconstruct_operator.cc59 op_ = std::make_pair(RESHAPE, args); in ReshapeOP()
134 op_ = CreateStridedSliceOp(DEFAULT, begin, end, strides); in StridedSliceOP()
160 op_ = std::make_pair(ALL_GATHER, args); in AllGatherOP()
174 op_ = std::make_pair(CONCAT, args); in ConcatOP()
192 op_ = std::make_pair(SPLIT, args); in SplitOP()
244 op_ = std::make_pair(ALL_TO_ALL, op_args); in AlltoAllOP()
Dconstruct_operator.h45 Operator GetOperator() const { return op_; } in GetOperator()
49 Operator op_;
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/data/
Dmask_op.h36 : op_(op), value_(std::move(value)), type_(type), cast_(new TypeCastOp(type)) {} in op_() function
47 RelationalOp op_;

123