Home
last modified time | relevance | path

Searched defs:VaryingShape (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/pytorch/aten/src/ATen/core/
H A Djit_type.h500 struct VaryingShape { struct
502 VaryingShape(const std::vector<T>& vec) in VaryingShape() argument
505 VaryingShape(c10::ArrayRef<T> vec) in VaryingShape() function
508 VaryingShape(std::optional<size_t> size = std::nullopt) : dims_(std::nullopt) { in dims_() argument
514 VaryingShape(ListOfOptionalElements dims) : dims_(std::move(dims)) {} in VaryingShape() argument
516 VaryingShape(size_t size) : VaryingShape(std::optional<size_t>(size)) {} in VaryingShape() argument
541 TORCH_API VaryingShape merge(const VaryingShape& other) const; argument
543 std::optional<std::vector<T>> concrete_sizes() const { in concrete_sizes()
558 bool isComplete() const { in isComplete()
H A Dtensor_type.cpp337 template struct VaryingShape<c10::ShapeSymbol>; variable
338 template struct VaryingShape<bool>; variable
339 template struct VaryingShape<size_t>; variable
340 template struct VaryingShape<int64_t>; variable
341 template struct VaryingShape<c10::Stride>; variable