View source on GitHub |
Univariate scorer using DNN.
Inherits From: UnivariateScorer
, Scorer
tfr.keras.model.DNNScorer(
**dnn_kwargs
)
Example usage:
scorer=DNNScorer(hidden_layer_dims=[16])
Args | |
---|---|
**dnn_kwargs
|
A dict of keyward arguments for dense neural network layers.
Please see tfr.keras.layers.create_tower for specific list of keyword
arguments.
|
Methods
__call__
__call__(
context_features: tfr.keras.model.TensorDict
,
example_features: tfr.keras.model.TensorDict
,
mask: tf.Tensor
) -> Union[tf.Tensor, tfr.keras.model.TensorDict
]
See Scorer
.