DiffIR
stable
diffir.weight.weights_builder
Module Contents
Classes
WeightBuilder
initialize_weights
score_document_regions
DiffIR
»
diffir.weight.weights_builder
Edit on GitHub
diffir.weight.weights_builder
¶
Module Contents
¶
Classes
¶
WeightBuilder
class
diffir.weight.weights_builder.
WeightBuilder
(
weights_1
,
weights_2
,
norm_1
=
'minmax'
,
norm_2
=
'minmax'
)
[source]
¶
static
initialize_weights
(
weights_file
,
norm
)
[source]
¶
score_document_regions
(
self
,
query
,
doc
,
run_idx
)
[source]
¶
Read the Docs
v: stable
Versions
latest
stable
Downloads
On Read the Docs
Project Home
Builds