Searched defs:NamedTuple (Results 1 – 9 of 9) sorted by relevance
/external/pytorch/torch/fx/ |
D | _pytree.py | 66 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/ |
D | test_mobile_type_parser.cpp | 58 TEST(MobileTypeParserTest, NamedTuple) { in TEST() argument
|
/external/pytorch/torch/_dynamo/variables/ |
D | builder.py | 1182 def wrap_listlike(self, value: Union[tuple, list, odict_values, NamedTuple]): argument
|
/external/tensorflow/tensorflow/core/function/trace_type/ |
D | default_types.py | 272 class NamedTuple(trace.TraceType, serialization.Serializable): class
|
/external/pytorch/torch/utils/ |
D | _pytree.py | 454 def _namedtuple_flatten(d: NamedTuple) -> Tuple[List[Any], Context]: 459 d: NamedTuple,
|
/external/executorch/extension/pytree/ |
D | pytree.h | 51 enum class Kind : uint8_t { List, Tuple, NamedTuple, Dict, Leaf, Custom, None }; enumerator
|
/external/python/typing_extensions/src/ |
D | typing_extensions.py | 3094 NamedTuple = typing.NamedTuple variable 3189 def NamedTuple(typename, fields=_marker, /, **kwargs): function
|
/external/python/cpython3/Lib/ |
D | typing.py | 3044 def NamedTuple(typename, fields=_sentinel, /, **kwargs): function
|
/external/pytorch/functorch/csrc/dim/ |
D | dim.cpp | 58 mpy::handle NamedTuple; variable
|