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