Shortcuts

Template Struct TensorTraits

Struct Documentation

template<typename T>
struct ripple::TensorTraits

Tensor traits for a class of type T.

This is the base case for when the type T is not a tensor.

Template Parameters
  • T: The type of the class to get the Tensor traits for.

Public Types

using Value = T

Defines the data type of the tensor data.

using Iterator = std::void_t<>

Defines the type of the tensor global data iterator.

using SharedIterator = std::void_t<>

Defines the type of the tensor shared data iterator.

Public Static Attributes

constexpr bool is_tensor = false

Returns that the type T is not a tensor.

constexpr size_t dimensions = 0

Returns the number of dimensions of the non-tensor type T.

Docs

Access comprehensive developer documentation for Ripple

View Docs

Tutorials

Get tutorials to help with understand all features

View Tutorials

Examples

Find examples to help get started

View Examples