Home
last modified time | relevance | path

Searched refs:IsInstance (Results 1 – 8 of 8) sorted by relevance

/third_party/mindspore/tests/ut/python/pynative_mode/ops/
Dtest_isinstance.py21 assert P.IsInstance()([1, 2, 3], ms.list_) is True
22 assert P.IsInstance()((1, 2, 3), ms.tuple_) is True
23 assert P.IsInstance()(1.0, ms.float_) is True
24 assert P.IsInstance()(1, ms.int_) is True
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetPassConfig.h57 bool IsInstance = false; variable
62 IdentifyingPassPtr(Pass *InstancePtr) : P(InstancePtr), IsInstance(true) {} in IdentifyingPassPtr()
65 bool isInstance() const { return IsInstance; } in isInstance()
68 assert(!IsInstance && "Not a Pass ID"); in getID()
73 assert(IsInstance && "Not a Pass Instance"); in getInstance()
/third_party/mindspore/tests/ut/python/ops/
Dtest_array_ops_check.py43 self.op = P.IsInstance()
/third_party/mindspore/mindspore/ops/_grad_experimental/
Dgrad_math_ops.py63 is_instance_op = P.IsInstance()
Dgrad_array_ops.py31 is_instance_op = P.IsInstance()
/third_party/mindspore/mindspore/ops/operations/
D__init__.py26 IsInstance, IsSubClass, ArgMaxWithValue, OnesLike, ZerosLike,
Darray_ops.py401 class IsInstance(PrimitiveWithInfer): class
/third_party/mindspore/mindspore/ops/
Dfunctional.py36 isinstance_ = P.IsInstance()