/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/model/ |
D | op_node.h | 70 …virtual TypeId InferType(const NodePtrList &inputs, const DAttrs &attrs) { return inputs[0]->type;… in InferType() function 96 TypeId InferType(const NodePtrList &inputs, const DAttrs &attrs) override; 106 …TypeId InferType(const NodePtrList &inputs, const DAttrs &attrs) override { return inputs[2]->type… in InferType() function 117 …TypeId InferType(const NodePtrList &inputs, const DAttrs &attrs) override { return inputs[1]->type… in InferType() function 126 …TypeId InferType(const NodePtrList &inputs, const DAttrs &attrs) override { return TypeId::kNumber… in InferType() function 205 TypeId InferType(const NodePtrList &inputs, const DAttrs &attrs) override; 225 TypeId InferType(const NodePtrList &inputs, const DAttrs &attrs) override; 258 …TypeId InferType(const NodePtrList &inputs, const DAttrs &attrs) override { return TypeId::kNumber… in InferType() function 273 …TypeId InferType(const NodePtrList &inputs, const DAttrs &attrs) override { return TypeId::kNumber… in InferType() function 283 …TypeId InferType(const NodePtrList &inputs, const DAttrs &attrs) override { return TypeId::kNumber… in InferType() function [all …]
|
/third_party/typescript/tests/cases/compiler/ |
D | propTypeValidatorInference.ts | 9 export type InferPropsInner<V> = { [K in keyof V]-?: InferType<V[K]>; }; 22 export type InferType<V> = V extends Validator<infer T> ? T : any; alias 33 export function oneOfType<T extends Validator<any>>(types: T[]): Requireable<NonNullable<InferType<…
|
/third_party/mindspore/mindspore/core/ops/ |
D | round.cc | 30 TypePtr InferType(const PrimitivePtr &prim, const std::vector<AbstractBasePtr> &input_args) { in InferType() function 39 …return std::make_shared<abstract::AbstractTensor>(InferType(primitive, input_args), InferShape(inp… in RoundInfer()
|
D | sin.cc | 39 TypePtr InferType(const PrimitivePtr &prim, const std::vector<AbstractBasePtr> &input_args) { in InferType() function 50 return std::make_shared<abstract::AbstractTensor>(InferType(primitive, input_args), in SinInfer()
|
D | maximum.cc | 32 TypePtr InferType(const PrimitivePtr &prim, const std::vector<AbstractBasePtr> &input_args) { in InferType() function 45 return std::make_shared<abstract::AbstractTensor>(InferType(primitive, input_args), in MaximumInfer()
|
D | div.cc | 35 TypePtr InferType(const PrimitivePtr &prim, const std::vector<AbstractBasePtr> &input_args) { in InferType() function 48 return std::make_shared<abstract::AbstractTensor>(InferType(primitive, input_args), in DivInfer()
|
D | pow.cc | 31 TypePtr InferType(const PrimitivePtr &prim, const std::vector<AbstractBasePtr> &input_args) { in InferType() function 44 return std::make_shared<abstract::AbstractTensor>(InferType(primitive, input_args), in PowInfer()
|
D | not_equal.cc | 30 TypePtr InferType(const PrimitivePtr &prim, const std::vector<AbstractBasePtr> &input_args) { in InferType() function 48 (void)InferType(primitive, input_args); in NotEqualInfer()
|
D | ones_like.cc | 36 TypePtr InferType(const PrimitivePtr &primitive, const std::vector<AbstractBasePtr> &input_args) { in InferType() function 50 …return abstract::MakeAbstract(InferShape(primitive, input_args), InferType(primitive, input_args)); in OnesLikeInfer()
|
D | less.cc | 34 TypePtr InferType(const PrimitivePtr &prim, const std::vector<AbstractBasePtr> &input_args) { in InferType() function 48 return std::make_shared<abstract::AbstractTensor>(InferType(primitive, input_args), in LessInfer()
|
D | assign_add.cc | 32 TypePtr InferType(const PrimitivePtr &primitive, const std::vector<AbstractBasePtr> &input_args) { in InferType() function 43 return std::make_shared<abstract::AbstractTensor>(InferType(primitive, input_args), in AssignAddInfer()
|
D | less_equal.cc | 35 TypePtr InferType(const PrimitivePtr &prim, const std::vector<AbstractBasePtr> &input_args) { in InferType() function 48 return std::make_shared<abstract::AbstractTensor>(InferType(primitive, input_args), in LessEqualInfer()
|
D | logical_and.cc | 35 TypePtr InferType(const PrimitivePtr &prim, const std::vector<AbstractBasePtr> &input_args) { in InferType() function 49 return std::make_shared<abstract::AbstractTensor>(InferType(primitive, input_args), in LogicalAndInfer()
|
D | squared_difference.cc | 33 TypePtr InferType(const PrimitivePtr &prim, const std::vector<AbstractBasePtr> &input_args) { in InferType() function 47 return std::make_shared<abstract::AbstractTensor>(InferType(primitive, input_args), in SquaredDifferenceInfer()
|
D | hshrink.cc | 35 TypePtr InferType(const PrimitivePtr &primitive, const std::vector<AbstractBasePtr> &input_args) { in InferType() function 46 return std::make_shared<abstract::AbstractTensor>(InferType(primitive, input_args), in HShrinkInfer()
|
D | floor.cc | 34 TypePtr InferType(const PrimitivePtr &prim, const std::vector<AbstractBasePtr> &input_args) { in InferType() function 46 …return std::make_shared<abstract::AbstractTensor>(InferType(primitive, input_args), InferShape(inp… in FloorInfer()
|
D | logical_or.cc | 36 TypePtr InferType(const PrimitivePtr &prim, const std::vector<AbstractBasePtr> &input_args) { in InferType() function 50 return std::make_shared<abstract::AbstractTensor>(InferType(primitive, input_args), in LogicalOrInfer()
|
D | zeros_like.cc | 36 TypePtr InferType(const PrimitivePtr &primitive, const std::vector<AbstractBasePtr> &input_args) { in InferType() function 50 …return abstract::MakeAbstract(InferShape(primitive, input_args), InferType(primitive, input_args)); in ZerosLikeInfer()
|
D | hsigmoid.cc | 33 TypePtr InferType(const PrimitivePtr &prim, const std::vector<AbstractBasePtr> &input_args) { in InferType() function 45 return std::make_shared<abstract::AbstractTensor>(InferType(primitive, input_args), in HSigmoidInfer()
|
D | rsqrt.cc | 40 TypePtr InferType(const PrimitivePtr &prim, const std::vector<AbstractBasePtr> &input_args) { in InferType() function 50 return std::make_shared<abstract::AbstractTensor>(InferType(primitive, input_args), in RsqrtInfer()
|
D | relu.cc | 41 TypePtr InferType(const PrimitivePtr &prim, const std::vector<AbstractBasePtr> &input_args) { in InferType() function 53 auto type = InferType(primitive, input_args); in ReLUInfer()
|
D | mul.cc | 41 TypePtr InferType(const PrimitivePtr &prim, const std::vector<AbstractBasePtr> &input_args) { in InferType() function 58 …return abstract::MakeAbstract(InferShape(primitive, input_args), InferType(primitive, input_args)); in MulInfer()
|
D | sub.cc | 41 TypePtr InferType(const PrimitivePtr &prim, const std::vector<AbstractBasePtr> &input_args) { in InferType() function 57 …return abstract::MakeAbstract(InferShape(primitive, input_args), InferType(primitive, input_args)); in SubInfer()
|
D | minimum.cc | 36 TypePtr InferType(const PrimitivePtr &prim, const std::vector<AbstractBasePtr> &input_args) { in InferType() function 53 return std::make_shared<abstract::AbstractTensor>(InferType(primitive, input_args), in MinimumInfer()
|
/third_party/mindspore/mindspore/core/ops/grad/ |
D | relu_grad_v2.cc | 37 TypePtr InferType(const PrimitivePtr &prim, const std::vector<AbstractBasePtr> &input_args) { in InferType() function 58 return abstract::MakeAbstract(InferShape(input_args), InferType(primitive, input_args)); in ReLUGradV2Infer()
|