Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions
torch::data::detail::sequencers::NoSequencer< Result > Struct Template Referencefinal

A Sequencer that does not enforce any ordering. More...

#include <sequencers.h>

Inheritance diagram for torch::data::detail::sequencers::NoSequencer< Result >:
torch::data::detail::sequencers::Sequencer< Result >

Public Member Functions

optional< Result > next (ResultProducer next_result) override

Additional Inherited Members

- Public Types inherited from torch::data::detail::sequencers::Sequencer< Result >
using ResultProducer = std::function< optional< Result >()>

Detailed Description

template<typename Result>
struct torch::data::detail::sequencers::NoSequencer< Result >

A Sequencer that does not enforce any ordering.

It is effectively the identity function.

Definition at line 38 of file sequencers.h.

The documentation for this struct was generated from the following file: