114 class IndexTensorImpl;
115 std::shared_ptr<Impl> impl_;
116 TensorKey(
const std::shared_ptr<Impl>& impl);
TensorKey is used to represent single index, slice or advanced indexing on a Tensor.
Definition TensorKey.h:26
int64_t GetStart() const
Definition TensorKey.cpp:155
std::string ToString() const
Convert TensorKey to a string representation.
Definition TensorKey.cpp:131
int64_t GetIndex() const
Definition TensorKey.cpp:147
Tensor GetIndexTensor() const
Definition TensorKey.cpp:185
int64_t GetStop() const
Definition TensorKey.cpp:162
TensorKeyMode
Definition TensorKey.h:67
TensorKeyMode GetMode() const
Returns TensorKey mode.
Definition TensorKey.cpp:129
~TensorKey()
Definition TensorKey.h:68
TensorKey InstantiateDimSize(int64_t dim_size) const
Definition TensorKey.cpp:176
int64_t GetStep() const
Definition TensorKey.cpp:169
Definition Optional.h:259
constexpr utility::nullopt_t None
Definition TensorKey.h:20
Definition PinholeCameraIntrinsic.cpp:16
Definition Optional.h:149
Definition Optional.h:148