linkedin / detext

DeText: A Deep Neural Text Understanding Framework for Ranking and Classification Tasks
BSD 2-Clause "Simplified" License
1.26k stars 134 forks source link

import input_fn from outside of train for internal integration #5

Closed xwli-chelsea closed 4 years ago

xwli-chelsea commented 4 years ago

Importing the input function input_fn from outside of train and pass the function to train.

This allows for easy incorporation with the internal data function with avro data-- we can directly call train with it.

Local testing done.