Compare commits
1 Commits
1237394bb1
...
07776a0538
Author | SHA1 | Date |
---|---|---|
coolneng | 07776a0538 |
|
@ -77,7 +77,7 @@ def create_dataset(data_file, label_file, dataset_split=[0.8, 0.1, 0.1]) -> None
|
|||
|
||||
def transform_features(parsed_features) -> Dict[str, Tensor]:
|
||||
"""
|
||||
Transform the parsed features of an Example into a list of dense one hot encoded Tensors
|
||||
Transform the parsed features of an Example into a list of dense Tensors
|
||||
"""
|
||||
features = {}
|
||||
sparse_features = ["sequence", "label"]
|
||||
|
|
Loading…
Reference in New Issue