MCPcopy Create free account
hub / github.com/tensorflow/lingvo / GenericInput

Function GenericInput

lingvo/core/generic_input.py:104–208  ·  view source on GitHub ↗

Builds a generic input pipeline. Example usage: def ParseRecord(record): # Given a tf.string record, return a (NestedMap, bucketing key) pair. feature_map = ... features = tf.io.parse_single_example(record, feature_map) # Each example is represented by a NestedMap of

(processor, **kwargs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ReplicatedGenericInputFunction · 0.85

Calls 5

GenericInputV2CreateFunction · 0.85
GenericInputV2GetNextFunction · 0.85
_ParseProcessorFunction · 0.85
PackMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…