Home
last modified time | relevance | path

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

/aosp_15_r20/external/pytorch/torch/testing/_internal/
H A Djit_utils.py527 def checkTrace(self, func, reference_tensors, input_tensors=None, argument
542 input_tensors = reference_tensors
555 nograd_inputs = reference_tensors
557 recording_inputs = do_input_map(lambda t: t.clone().requires_grad_(), reference_tensors)
560 recording_inputs = reference_tensors
604 … recording_inputs = do_input_map(lambda t: Variable(t, requires_grad=True), reference_tensors)