Struct LoadPadding¶
Defined in File load_padding.hpp
Struct Documentation¶
-
struct
ripple
::
LoadPadding
¶ Functor which applies a loader to call the padding loading function.
This can be passed to a graph to be applied to a tensor.
Public Functions
-
template<typename
Iterator
, typenameLoader
, typename ...Args
>
autooperator()
(Iterator &&it, Loader &&loader, Args&&... args) const noexcept -> void¶ Loads the global padding data for the iterator using the loader.
- Note
The loader must implement the PaddingLoader interface.
- Parameters
it
: The iterator to load the padding for.loader
: The loader which defines how to load the padding.args
: Additional arguments for the loading.
- Template Parameters
Iterator
: The type of the iterator.Loader
: The type of the loader.Args
: The types of the arguments.
-
template<typename