27#include "neml2/jit/TraceableSize.h"
Definition DiagnosticsInterface.cxx:30
c10::SmallVector< Size, 8 > TensorShape
Definition types.h:71
c10::SmallVector< T, N > SmallVector
Definition types.h:60
at::Tensor ATensor
Definition types.h:42
bool operator==(const LabeledAxis &a, const LabeledAxis &b)
Definition LabeledAxis.cxx:503
bool operator!=(const LabeledAxis &a, const LabeledAxis &b)
Definition LabeledAxis.cxx:509
c10::ArrayRef< Size > TensorShapeRef
Definition types.h:72
Traceable size.
Definition TraceableSize.h:40
Traceable tensor shape.
Definition TraceableTensorShape.h:38
TensorShape concrete() const
Definition TraceableTensorShape.cxx:78
TraceableTensorShape(const TensorShape &shape)
Definition TraceableTensorShape.cxx:32
int64_t Size
Definition TraceableTensorShape.h:40
TraceableTensorShape slice(Size start, Size end) const
Slice the shape, semantically the same as ArrayRef::slice, but traceable.
Definition TraceableTensorShape.cxx:59
ATensor as_tensor() const
Definition TraceableTensorShape.cxx:87