MCPcopy Create free account
hub / github.com/alibaba/euler / _parse_func

Method _parse_func

euler_estimator/python/sample_estimator.py:31–33  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

29
30 def get_input_from_sample(self, epochs):
31 def _parse_func(line):
32 data = tf.string_split([line], ",")
33 return data
34
35 dataset = tf.data.TextLineDataset(self.params['sample_dir'])
36 dataset = dataset.map(_parse_func)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected