tf.contrib.layers.one_hot_column
Создает _OneHotColumn для представления в виде одного или нескольких горячих битов в DNN.
tf.contrib.layers.one_hot_column(
sparse_id_column
)
| Аргументы | |
|---|---|
sparse_id_column | _SparseColumn, созданный функциями sparse_column_with_* или crossed_column. Обратите внимание, что combiner , определенная в sparse_id_column, игнорируется. |
| Возвращает | |
|---|---|
| _OneHotColumn. |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/layers/one_hot_column