Home
last modified time | relevance | path

Searched refs:Neg (Results 1 – 25 of 143) sorted by relevance

123456

/third_party/mindspore/mindspore/core/ops/
Dneg.h30 class MS_CORE_API Neg : public PrimitiveC {
33 Neg() : PrimitiveC(prim::kPrimNeg->name()) { InitIOName({"x"}, {"y"}); } in Neg() function
35 ~Neg() = default;
36 MS_DECLARE_PARENT(Neg, PrimitiveC);
43 using PrimNegPtr = std::shared_ptr<Neg>;
Dneg.cc66 REGISTER_PRIMITIVE_C(kNameNeg, Neg);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPFloat.h467 void makeLargest(bool Neg = false);
468 void makeSmallest(bool Neg = false);
469 void makeNaN(bool SNaN = false, bool Neg = false,
471 void makeInf(bool Neg = false);
472 void makeZero(bool Neg = false);
645 void makeInf(bool Neg);
646 void makeNaN(bool SNaN, bool Neg, const APInt *fill);
773 void makeZero(bool Neg) { getIEEE().makeZero(Neg); } in makeZero() argument
775 void makeInf(bool Neg) { in makeInf() argument
777 return U.IEEE.makeInf(Neg); in makeInf()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPFloat.h456 void makeLargest(bool Neg = false);
457 void makeSmallest(bool Neg = false);
458 void makeNaN(bool SNaN = false, bool Neg = false,
460 void makeInf(bool Neg = false);
461 void makeZero(bool Neg = false);
643 void makeInf(bool Neg);
644 void makeZero(bool Neg);
645 void makeLargest(bool Neg);
646 void makeSmallest(bool Neg);
647 void makeSmallestNormalized(bool Neg);
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/math/
Dunary_op_gpu_kernel.cc45 MS_REG_GPU_KERNEL_ONE(Neg, KernelAttr().AddInputAttr(kNumberTypeFloat64).AddOutputAttr(kNumberTypeF…
47 MS_REG_GPU_KERNEL_ONE(Neg, KernelAttr().AddInputAttr(kNumberTypeFloat32).AddOutputAttr(kNumberTypeF…
49 MS_REG_GPU_KERNEL_ONE(Neg, KernelAttr().AddInputAttr(kNumberTypeFloat16).AddOutputAttr(kNumberTypeF…
51 MS_REG_GPU_KERNEL_ONE(Neg, KernelAttr().AddInputAttr(kNumberTypeInt8).AddOutputAttr(kNumberTypeInt8…
53 MS_REG_GPU_KERNEL_ONE(Neg, KernelAttr().AddInputAttr(kNumberTypeUInt8).AddOutputAttr(kNumberTypeUIn…
55 MS_REG_GPU_KERNEL_ONE(Neg, KernelAttr().AddInputAttr(kNumberTypeInt32).AddOutputAttr(kNumberTypeInt…
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Option/
DArgList.cpp73 bool ArgList::hasFlag(OptSpecifier Pos, OptSpecifier Neg, bool Default) const { in hasFlag() argument
74 if (Arg *A = getLastArg(Pos, Neg)) in hasFlag()
79 bool ArgList::hasFlag(OptSpecifier Pos, OptSpecifier PosAlias, OptSpecifier Neg, in hasFlag() argument
81 if (Arg *A = getLastArg(Pos, PosAlias, Neg)) in hasFlag()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Darithmetic_self_cpu_kernel.h62 MS_REG_CPU_KERNEL(Neg, KernelAttr().AddInputAttr(kNumberTypeFloat32).AddOutputAttr(kNumberTypeFloat…
64 MS_REG_CPU_KERNEL(Neg, KernelAttr().AddInputAttr(kNumberTypeInt32).AddOutputAttr(kNumberTypeInt32),
66 MS_REG_CPU_KERNEL(Neg, KernelAttr().AddInputAttr(kNumberTypeInt64).AddOutputAttr(kNumberTypeInt64),
/third_party/typescript/tests/baselines/reference/
DparserRealSource3.types59 Neg,
60 >Neg : NodeType.Neg
DparserRealSource3.symbols59 Neg,
60 >Neg : Symbol(NodeType.Neg, Decl(parserRealSource3.ts, 22, 12))
/third_party/mindspore/tests/st/ops/graph_kernel/
Dtest_reorder_ops.py29 self.neg = P.Neg()
59 self.neg = P.Neg()
Dtest_simplify.py33 self.neg = P.Neg()
57 self.neg = P.Neg()
Dtest_recompute.py44 self.neg = P.Neg()
59 self.neg = P.Neg()
72 self.neg = P.Neg()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DSampleMessages.cs88 …m = { TestProtos.TestAllTypes.Types.NestedEnum.Foo, TestProtos.TestAllTypes.Types.NestedEnum.Neg }, in CreateFullTestAllTypes()
141 …estedEnum = { Proto2.TestAllTypes.Types.NestedEnum.Foo, Proto2.TestAllTypes.Types.NestedEnum.Neg }, in CreateFullTestAllTypesProto2()
193 …ange(new[] { Proto2.TestAllTypes.Types.NestedEnum.Foo, Proto2.TestAllTypes.Types.NestedEnum.Neg }); in CreateFullTestAllExtensions()
/third_party/mindspore/mindspore/lite/src/delegate/npu/op/
Darithmetic_self_npu.cc65 op_ = CreateOperator<hiai::op::Neg>(name_); in Init()
123 SetInputs<hiai::op::Neg>(npu_inputs, op_); in SetNPUInputs()
/third_party/mindspore/mindspore/lite/tools/converter/parser/tf/
Dtf_neg_parser.cc29 auto prim = std::make_unique<ops::Neg>(); in Parse()
/third_party/mindspore/mindspore/ccsrc/transform/graph_ir/op_declare/
Delewise_calculation_ops_declare.h164 DECLARE_OP_ADAPTER(Neg)
165 DECLARE_OP_USE_OUTPUT(Neg)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonConstExtenders.cpp295 bool Neg = false; member
298 ExtExpr(Register RS, bool NG, unsigned SH) : Rs(RS), S(SH), Neg(NG) {} in ExtExpr()
304 return Rs == Ex.Rs && S == Ex.S && Neg == Ex.Neg; in operator ==()
314 return !Neg && Ex.Neg; in operator <()
468 OS << "## " << (P.Ex.Neg ? "- " : "+ "); in operator <<()
1207 ED.Expr.Neg = true; in recordExtender()
1211 ED.Expr.Neg = true; in recordExtender()
1541 assert(!Ex.Neg && "Cannot subtract a stack slot"); in insertInitializer()
1553 if (Ex.Neg) { in insertInitializer()
1565 unsigned NewOpc = Ex.Neg ? Hexagon::S4_subi_asl_ri in insertInitializer()
[all …]
/third_party/mindspore/mindspore/ops/_grad/
Dgrad_math_ops.py183 neg = P.Neg()
194 @bprop_getters.register(P.Neg)
197 neg_grad = P.Neg()
209 neg_func = P.Neg()
234 neg = P.Neg()
249 neg = P.Neg()
264 neg = P.Neg()
393 neg = P.Neg()
1032 neg = P.Neg()
/third_party/mindspore/tests/ut/python/parallel/
Dtest_conv2d_transpose.py31 self.neg = P.Neg().shard(strategy2)
46 self.neg = P.Neg().shard(strategy2)
Dtest_batchparallel_replace_shape.py28 self.neg = P.Neg().shard(strategy2)
/third_party/mindspore/tests/ut/cpp/ops/
Dtest_ops_neg.cc35 auto neg = std::make_shared<Neg>(); in TEST_F()
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/
DparserRealSource3.ts24 Neg, enumerator
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DReassociate.cpp269 static BinaryOperator *LowerNegateToMultiply(Instruction *Neg) { in LowerNegateToMultiply() argument
270 assert((isa<UnaryOperator>(Neg) || isa<BinaryOperator>(Neg)) && in LowerNegateToMultiply()
273 unsigned OpNo = isa<BinaryOperator>(Neg) ? 1 : 0; in LowerNegateToMultiply()
274 Type *Ty = Neg->getType(); in LowerNegateToMultiply()
278 BinaryOperator *Res = CreateMul(Neg->getOperand(OpNo), NegOne, "", Neg, Neg); in LowerNegateToMultiply()
279 Neg->setOperand(OpNo, Constant::getNullValue(Ty)); // Drop use of op. in LowerNegateToMultiply()
280 Res->takeName(Neg); in LowerNegateToMultiply()
281 Neg->replaceAllUsesWith(Res); in LowerNegateToMultiply()
282 Res->setDebugLoc(Neg->getDebugLoc()); in LowerNegateToMultiply()
/third_party/mindspore/tests/st/ops/cpu/
Dtest_neg_op.py42 self.ops = P.Neg()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DSampleMessages.cs85 … RepeatedNestedEnum = { TestAllTypes.Types.NestedEnum.Foo, TestAllTypes.Types.NestedEnum.Neg }, in CreateFullTestAllTypes()

123456