Searched refs:issubclass_ (Results 1 – 8 of 8) sorted by relevance
/third_party/mindspore/mindspore/ops/_grad/ |
D | grad_comm_ops.py | 59 if F.issubclass_(F.typeof(dout), mstype.tensor): 69 if F.issubclass_(F.typeof(dout), mstype.tensor): 188 if F.issubclass_(F.typeof(dout), mstype.tensor): 194 if F.issubclass_(F.typeof(dout), mstype.tensor): 419 if F.issubclass_(F.typeof(dout), mstype.tensor): 432 if F.issubclass_(F.typeof(dout), mstype.tensor): 470 if F.issubclass_(F.typeof(dout), mstype.tensor): 483 if F.issubclass_(F.typeof(dout), mstype.tensor): 506 if F.issubclass_(F.typeof(dout), mstype.tensor): 507 … if F.issubclass_(F.dtype(dout), mstype.bool_) or F.issubclass_(F.dtype(dout), mstype.int32) \ [all …]
|
/third_party/mindspore/mindspore/nn/grad/ |
D | cell_grad.py | 80 self.issubclass_ = P.IsSubClass() 91 if self.issubclass_(self.typeof(output), mstype.tuple_): 141 self.issubclass_ = P.IsSubClass()
|
/third_party/mindspore/mindspore/common/ |
D | dtype.py | 277 def issubclass_(type_, dtype): function
|
/third_party/mindspore/mindspore/ops/composite/ |
D | base.py | 460 if any(not mstype.issubclass_(type_, sig) for sig, type_ in zip(sigs, types)):
|
/third_party/mindspore/mindspore/ops/ |
D | functional.py | 35 issubclass_ = P.IsSubClass() variable
|
/third_party/mindspore/mindspore/ |
D | _checkparam.py | 487 if mstype.issubclass_(type_, template_type):
|
/third_party/mindspore/mindspore/ops/operations/ |
D | array_ops.py | 393 value = mstype.issubclass_(sub_type_t, type_v) 440 value = mstype.issubclass_(sub_type_t, type_v) 1601 if mstype.issubclass_(x['dtype'], mstype.tensor):
|
/third_party/mindspore/mindspore/_extends/parse/ |
D | standard_method.py | 1516 if F.issubclass_(F.typeof(x), F.typeof(mstype.tensor)):
|