MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / InputList

Method InputList

tensorflow/cc/framework/ops.h:261–265  ·  view source on GitHub ↗

Implicitly convert a list of outputs to a list of inputs. This is useful to write code such as ops::Concat(ops::Split(x, 4)).

Source from the content-addressed store, hash-verified

259 /// Implicitly convert a list of outputs to a list of inputs. This is useful
260 /// to write code such as ops::Concat(ops::Split(x, 4)).
261 InputList(const OutputList& out) { // NOLINT(runtime/explicit)
262 for (auto const& x : out) {
263 inputs_.push_back(x);
264 }
265 }
266
267 InputList(
268 const std::initializer_list<Input>& inputs) // NOLINT(runtime/explicit)

Callers

nothing calls this directly

Calls 3

push_backMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected