Home
last modified time | relevance | path

Searched defs:SymInt (Results 1 – 25 of 37) sorted by relevance

12

/external/executorch/exir/
Dsym_util.py17 def eval_expr(symint: Union[int, torch.SymInt]) -> Optional[int]:
34 def eval_upper_bound(maybe_symint: Union[int, torch.SymInt]) -> int:
69 def eval_shape(shape: Iterable[Union[int, torch.SymInt]]): # pyre-ignore[3]
80 def eval_shape_upper_bound(shape: Iterable[Union[int, torch.SymInt]]) -> List[int]:
88 shape: Iterable[Union[int, torch.SymInt]]
/external/pytorch/torch/fx/experimental/shape_inference/
Dinfer_symbol_values.py16 symints: List[Union[torch.SymInt, int]],
17 init_symints: List[Union[torch.SymInt, int]],
19 padding_constraints: DefaultDict[torch.SymInt, List[Union[sp.Expr, int]]],
86 symints: List[Union[torch.SymInt, int]],
119 symints: List[Union[torch.SymInt, int]],
120 init_symints: List[Union[torch.SymInt, int]],
121 padding_constraints: DefaultDict[torch.SymInt, List[Union[sp.Expr, int]]],
124 var: torch.SymInt,
/external/pytorch/c10/core/
DSymInt.h41 /*implicit*/ SymInt(int64_t d) : data_(d) { in SymInt() function
47 SymInt() : data_(0) {} in SymInt() function
54 SymInt(Unchecked, int64_t d) : data_(d) {} in SymInt() function
58 SymInt(const SymInt& s) : data_(0) { in SymInt() function
65 SymInt(SymInt&& s) noexcept : data_(s.data_) { in SymInt() function
DSymInt.cpp29 SymInt::SymInt(SymNode sin_sp) { in SymInt() function in c10::SymInt
67 DEFINE_BINARY(operator*, std::multiplies<>(), mul, SymInt) in DEFINE_BINARY() argument
/external/executorch/exir/passes/
Dexecutorch_prim_ops_registry.py89 def mod(a: SymInt, b: SymInt) -> SymInt:
Dsym_to_tensor_pass.py40 symbol: Union[SymInt, SymFloat, SymBool]
Ddynamic_shape_prop_pass.py205 self, node_debug_str: str, symint: torch.SymInt, ubval: int
238 def eval_symint_to_ubval(self, symint: torch.SymInt) -> int:
/external/executorch/backends/vulkan/runtime/graph/containers/
DSymInt.cpp13 SymInt::SymInt(api::Context* context_p, const int32_t val) in SymInt() function in vkcompute::SymInt
/external/pytorch/torch/onnx/_internal/
Donnxruntime.py320 torch.Tensor, torch.SymInt, int, torch.SymFloat, float, torch.SymBool, bool
332 torch.Tensor, torch.SymInt, int, torch.SymFloat, float, torch.SymBool, bool
421 torch.SymInt,
457 torch.Tensor, torch.SymInt, int, torch.SymFloat, float, torch.SymBool, bool
538 torch.Tensor, torch.SymInt, int, torch.SymFloat, float, torch.SymBool, bool
/external/executorch/backends/cadence/aot/
Dops_registrations.py313 in_zero_point: torch.SymInt,
314 weight_zero_point: torch.SymInt,
315 out_multiplier: torch.SymInt,
316 out_shift: torch.SymInt,
317 out_zero_point: torch.SymInt,
/external/pytorch/docs/source/
Dexport.ir_spec.rst347 SymInt section in References
/external/pytorch/aten/src/ATen/core/
DATen_fwd.h13 class SymInt; variable
/external/pytorch/torch/nn/attention/
D_utils.py37 def _supported_head_dim(n: Union[int, torch.SymInt]) -> bool:
/external/pytorch/torch/_inductor/
Ddecomposition.py138 symbol: torch.SymInt,
162 size: List[Union[int, torch.SymInt]],
179 size: List[Union[int, torch.SymInt]],
499 size: List[Union[int, torch.SymInt]],
623 size: List[Union[int, torch.SymInt]],
/external/pytorch/torch/_subclasses/
D_fake_tensor_utils.py186 def __init__(self, value: SymInt, key_path: Optional[int]) -> None:
244 def convert_sym_int(self, result: List[object], arg: SymInt) -> None:
/external/executorch/backends/vulkan/serialization/
Dvulkan_graph_schema.py110 class SymInt: class
/external/pytorch/torch/fx/experimental/
Dsymbolic_shapes.py202 def hint_int(a: Union[torch.SymInt, int], fallback: Optional[int] = None) -> int:
220 def is_concrete_int(a: Union[int, SymInt]) -> bool: argument
471 def _iterate_exprs(val: Union[SymInt, torch.Tensor]) -> Iterable[sympy.Basic]:
495 def free_symbols(val: Union[SymInt, sympy.Expr, torch.Tensor]) -> Set[sympy.Symbol]:
507 def has_free_symbols(val: Union[SymInt, torch.Tensor]) -> bool:
955 def constrain_unify(a: torch.SymInt, b: torch.SymInt) -> None:
1389 def is_symbolic(val: Union[int, SymInt, float, SymFloat, bool, SymBool]) -> bool: argument
3387 val: Union[int, SymInt, float, SymFloat], argument
/external/pytorch/torch/
Dtypes.py28 SymInt as SymInt, unknown
/external/pytorch/torch/onnx/_internal/fx/
Ddiagnostics.py95 def _torch_fx_symbolic_int(obj: torch.SymInt) -> str:
/external/pytorch/torch/_export/serde/
Dschema.py75 class SymInt(_Union): class
/external/executorch/exir/emit/
D_emitter.py977 val: Tuple[Union[torch.SymInt, torch.BoolType, torch.FloatType, FakeTensor]],
993 val: Tuple[Union[torch.SymInt, torch.BoolType, torch.FloatType, FakeTensor]],
/external/executorch/exir/serde/
Dschema.py83 class SymInt(_Union): class
Dexport_serialize.py231 def serialize_sym_int(s: Union[int, torch.SymInt]) -> SymInt:
1467 def deserialize_sym_int(self, s: SymInt) -> Union[int, torch.SymInt]:
/external/pytorch/torch/_inductor/fx_passes/
Dpad_mm.py119 def get_padded_length(x: Union[int, torch.SymInt], alignment_size) -> int:
/external/pytorch/aten/src/ATen/
DTensorIndexing.h30 enum class TensorIndexType { None, Ellipsis, SymInt, Boolean, Slice, Tensor }; enumerator

12