Rate this Page

all_node_args_have_no_tensors#

class torch.ao.quantization.fx.utils.all_node_args_have_no_tensors(node, modules, cache)[source]#

If we know for sure that all of this node’s args have no tensors (are primitives), return True. If we either find a tensor or are not sure, return False. Note: this function is not exact.

Return type:

bool