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

Method MakeNodeFactory

tensorflow/core/framework/dataset.h:776–781  ·  view source on GitHub ↗

Returns a factory for nodes that represent the given iterator.

Source from the content-addressed store, hash-verified

774 private:
775 // Returns a factory for nodes that represent the given iterator.
776 static model::Node::Factory MakeNodeFactory(IteratorContext* ctx,
777 IteratorBase* iterator) {
778 return [ctx, iterator](model::Node::Args args) {
779 return iterator->CreateNode(ctx, std::move(args));
780 };
781 }
782
783 const string type_string_;
784 const string node_name_;

Callers

nothing calls this directly

Calls 1

CreateNodeMethod · 0.45

Tested by

no test coverage detected