Home
last modified time | relevance | path

Searched defs:maybe_tensor (Results 1 – 4 of 4) sorted by relevance

/aosp_15_r20/external/pytorch/aten/src/ATen/functorch/
H A DPlumbingHelper.cpp59 bool isBatchedAtLevel(const std::optional<Tensor>& maybe_tensor, int64_t level) { in isBatchedAtLevel()
77 const auto& maybe_tensor = maybe_tensors.get(idx); in isBatchedAtLevel() local
86 for (const auto& maybe_tensor : maybe_tensors) { in areAnyBatchedAtLevel() local
H A DBatchRulesScatterOps.cpp48 const auto& maybe_tensor = indices[i]; in get_max_index_logical_dim() local
/aosp_15_r20/external/pytorch/torch/_functorch/
H A Deager_transforms.py135 def _is_differentiable(maybe_tensor): argument
146 def _wrap_tensor_for_grad(maybe_tensor, level): argument
1458 maybe_tensor, level, *, _python_functionalize: bool = False argument
1484 def _maybe_unwrap_functional_tensor(maybe_tensor, *, reapply_views: bool): argument
/aosp_15_r20/external/pytorch/benchmarks/dynamo/
H A Ddistributed.py60 def move_tensor(maybe_tensor): argument