/third_party/mindspore/mindspore/core/ops/ |
D | neg.h | 30 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>;
|
D | neg.cc | 66 REGISTER_PRIMITIVE_C(kNameNeg, Neg);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APFloat.h | 467 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/ |
D | APFloat.h | 456 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/ |
D | unary_op_gpu_kernel.cc | 45 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/ |
D | ArgList.cpp | 73 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/ |
D | arithmetic_self_cpu_kernel.h | 62 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/ |
D | parserRealSource3.types | 59 Neg, 60 >Neg : NodeType.Neg
|
D | parserRealSource3.symbols | 59 Neg, 60 >Neg : Symbol(NodeType.Neg, Decl(parserRealSource3.ts, 22, 12))
|
/third_party/mindspore/tests/st/ops/graph_kernel/ |
D | test_reorder_ops.py | 29 self.neg = P.Neg() 59 self.neg = P.Neg()
|
D | test_simplify.py | 33 self.neg = P.Neg() 57 self.neg = P.Neg()
|
D | test_recompute.py | 44 self.neg = P.Neg() 59 self.neg = P.Neg() 72 self.neg = P.Neg()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
D | SampleMessages.cs | 88 …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/ |
D | arithmetic_self_npu.cc | 65 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/ |
D | tf_neg_parser.cc | 29 auto prim = std::make_unique<ops::Neg>(); in Parse()
|
/third_party/mindspore/mindspore/ccsrc/transform/graph_ir/op_declare/ |
D | elewise_calculation_ops_declare.h | 164 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/ |
D | HexagonConstExtenders.cpp | 295 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/ |
D | grad_math_ops.py | 183 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/ |
D | test_conv2d_transpose.py | 31 self.neg = P.Neg().shard(strategy2) 46 self.neg = P.Neg().shard(strategy2)
|
D | test_batchparallel_replace_shape.py | 28 self.neg = P.Neg().shard(strategy2)
|
/third_party/mindspore/tests/ut/cpp/ops/ |
D | test_ops_neg.cc | 35 auto neg = std::make_shared<Neg>(); in TEST_F()
|
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/ |
D | parserRealSource3.ts | 24 Neg, enumerator
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 269 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/ |
D | test_neg_op.py | 42 self.ops = P.Neg()
|
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
D | SampleMessages.cs | 85 … RepeatedNestedEnum = { TestAllTypes.Types.NestedEnum.Foo, TestAllTypes.Types.NestedEnum.Neg }, in CreateFullTestAllTypes()
|