Set the BroadcastsLastDimension
flag on BroadcastingTensor
, if possible.
More...
#include <BroadcastingTensor.hpp>
Static Public Member Functions | |
template<typename T > | |
static constexpr bool | test () |
template<typename... O, typename T , int Rank, typename Opts , typename BOpts , typename... Stuff> | |
static auto | run (const BroadcastingTensor< T, Rank, Opts, BOpts > &t, Stuff &&... stuff) |
Static Public Member Functions inherited from sp::Specialiser | |
template<typename T > | |
static constexpr bool | test () |
Return true iff the specialiser is able to specialise arguments of type T. More... | |
template<typename... O, typename ArgType , typename... Stuff> | |
static auto | run (const ArgType &thisArg, Stuff &&... stuff) |
Specialise an argument. More... | |
Set the BroadcastsLastDimension
flag on BroadcastingTensor
, if possible.
This specialisation isn't purely an optimisation, it is necessary for correctness in BroadcastingTensor
s that use it.