27#include "neml2/tensors/TraceableSize.h"
Definition DiagnosticsInterface.cxx:30
c10::SmallVector< Size, 8 > TensorShape
Definition types.h:66
c10::SmallVector< T, N > SmallVector
Definition types.h:57
at::Tensor ATensor
Definition types.h:38
bool operator==(const LabeledAxis &a, const LabeledAxis &b)
Definition LabeledAxis.cxx:597
bool operator!=(const LabeledAxis &a, const LabeledAxis &b)
Definition LabeledAxis.cxx:603
c10::ArrayRef< Size > TensorShapeRef
Definition types.h:67
Traceable size.
Definition TraceableSize.h:42
Traceable tensor shape.
Definition TraceableTensorShape.h:38
TensorShape concrete() const
Definition TraceableTensorShape.cxx:71
TraceableTensorShape(const TensorShape &shape)
Definition TraceableTensorShape.cxx:32
int64_t Size
Definition TraceableTensorShape.h:40
ATensor as_tensor() const
Definition TraceableTensorShape.cxx:80
TraceableTensorShape slice(std::size_t N, std::size_t M) const
Slice the shape.
Definition TraceableTensorShape.cxx:59