MCPcopy Create free account
hub / github.com/apache/singa / Iterator

Method Iterator

test/gtest/gtest.h:13795–13804  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13793 class Iterator : public ParamIteratorInterface<ParamType> {
13794 public:
13795 Iterator(const ParamGeneratorInterface<ParamType>* base,
13796 const ParamGenerator<T1>& g1,
13797 const typename ParamGenerator<T1>::iterator& current1,
13798 const ParamGenerator<T2>& g2,
13799 const typename ParamGenerator<T2>::iterator& current2)
13800 : base_(base),
13801 begin1_(g1.begin()), end1_(g1.end()), current1_(current1),
13802 begin2_(g2.begin()), end2_(g2.end()), current2_(current2) {
13803 ComputeCurrentValue();
13804 }
13805 virtual ~Iterator() {}
13806
13807 virtual const ParamGeneratorInterface<ParamType>* BaseGenerator() const {

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected