MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / _has_kernel

Method _has_kernel

python/paddle/base/framework.py:3563–3564  ·  view source on GitHub ↗
(self, op_type)

Source from the content-addressed store, hash-verified

3561 self.desc.infer_shape(self.block.desc)
3562
3563 def _has_kernel(self, op_type):
3564 return op_type not in self.OP_WITHOUT_KERNEL_SET
3565
3566 def to_string(self, throw_on_error):
3567 """

Callers 5

__init__Method · 0.95
_check_validationMethod · 0.80
_lower_compositeFunction · 0.80
_check_validationMethod · 0.80
_get_device_infoMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected