Home
last modified time | relevance | path

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

/aosp_15_r20/external/pytorch/test/inductor/
H A Dtest_aot_inductor_utils.py11 import torch.fx._pytree as fx_pytree namespace
105 flat_inputs = fx_pytree.tree_flatten_spec((args, kwargs), in_spec)
/aosp_15_r20/external/executorch/exir/
H A Dtracer.py32 import torch.fx._pytree as fx_pytree namespace
752 args = fx_pytree.tree_flatten_spec(args, gm.in_spec) # type: ignore[assignment]
/aosp_15_r20/external/executorch/exir/program/
H A D_program.py71 from torch.fx import _pytree as fx_pytree unknown
326 … args = fx_pytree.tree_flatten_spec(user_args, self.call_spec.in_spec) # type: ignore[assignment]
/aosp_15_r20/external/pytorch/torch/fx/
H A Dgraph.py5 from . import _pytree as fx_pytree unknown
70 _register_custom_builtin('fx_pytree', 'import torch.fx._pytree as fx_pytree', fx_pytree)
/aosp_15_r20/external/pytorch/torch/export/
H A Dunflatten.py12 import torch.fx._pytree as fx_pytree namespace
670 return gm.graph.call_function(fx_pytree.tree_flatten_spec, (node, spec_node))
/aosp_15_r20/external/pytorch/test/
H A Dtest_fx.py28 import torch.fx._pytree as fx_pytree namespace
3608 fx_pytree.register_pytree_flatten_spec(Foo, lambda x, _: [x.a, x.b])