Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ops/_grad/
Dgrad_comm_ops.py59 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/
Dcell_grad.py80 self.issubclass_ = P.IsSubClass()
91 if self.issubclass_(self.typeof(output), mstype.tuple_):
141 self.issubclass_ = P.IsSubClass()
/third_party/mindspore/mindspore/common/
Ddtype.py277 def issubclass_(type_, dtype): function
/third_party/mindspore/mindspore/ops/composite/
Dbase.py460 if any(not mstype.issubclass_(type_, sig) for sig, type_ in zip(sigs, types)):
/third_party/mindspore/mindspore/ops/
Dfunctional.py35 issubclass_ = P.IsSubClass() variable
/third_party/mindspore/mindspore/
D_checkparam.py487 if mstype.issubclass_(type_, template_type):
/third_party/mindspore/mindspore/ops/operations/
Darray_ops.py393 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/
Dstandard_method.py1516 if F.issubclass_(F.typeof(x), F.typeof(mstype.tensor)):