Home
last modified time | relevance | path

Searched defs:NamedTuple (Results 1 – 9 of 9) sorted by relevance

/external/pytorch/torch/fx/
D_pytree.py66 def _namedtuple_flatten_spec(d: NamedTuple, spec: TreeSpec) -> List[Any]:
82 def _namedtuple_flatten_spec_exact_match(d: NamedTuple, spec: TreeSpec) -> bool:
/external/pytorch/test/cpp/jit/
Dtest_mobile_type_parser.cpp58 TEST(MobileTypeParserTest, NamedTuple) { in TEST() argument
/external/pytorch/torch/_dynamo/variables/
Dbuilder.py1182 def wrap_listlike(self, value: Union[tuple, list, odict_values, NamedTuple]): argument
/external/tensorflow/tensorflow/core/function/trace_type/
Ddefault_types.py272 class NamedTuple(trace.TraceType, serialization.Serializable): class
/external/pytorch/torch/utils/
D_pytree.py454 def _namedtuple_flatten(d: NamedTuple) -> Tuple[List[Any], Context]:
459 d: NamedTuple,
/external/executorch/extension/pytree/
Dpytree.h51 enum class Kind : uint8_t { List, Tuple, NamedTuple, Dict, Leaf, Custom, None }; enumerator
/external/python/typing_extensions/src/
Dtyping_extensions.py3094 NamedTuple = typing.NamedTuple variable
3189 def NamedTuple(typename, fields=_marker, /, **kwargs): function
/external/python/cpython3/Lib/
Dtyping.py3044 def NamedTuple(typename, fields=_sentinel, /, **kwargs): function
/external/pytorch/functorch/csrc/dim/
Ddim.cpp58 mpy::handle NamedTuple; variable