RFTester Tool for automated testing relevance feedback algorithms fro known-item search

Static Public Member Functions | Static Public Attributes | Properties | Static Private Attributes | List of all members
RFTesterBackend.ResourceManagers.QueryEmbeddings Class Reference

Manager of query embeddings. More...

## Static Public Member Functions
static void | InitEmbeddings ()
| Loads embeddings from an external file. More...
static double[] | getEmbedding (EvaluationTarget target)
| Returns an embedding for given evaluation target. More...

## Static Public Attributes
static Dictionary< int, List< double[]> > | idToEmbedding = new Dictionary<int, List<double[]>>()
| Actual query embeddings for target image id. More...

## Properties
static ResourceState | EmbeddingsState`[get]`

## Static Private Attributes
static readonly log4net.ILog | log
static ResourceState | embeddingsState = ResourceState.NOT_LOADED
| State of resource manager More...

## Detailed Description

Manager of query embeddings.

## Member Function Documentation

## ◆ getEmbedding()

static double [] RFTesterBackend.ResourceManagers.QueryEmbeddings.getEmbedding | ( | EvaluationTarget | target | ) |
| inlinestatic

Returns an embedding for given evaluation target.

Parameters

  target |

Returns

## ◆ InitEmbeddings()

static void RFTesterBackend.ResourceManagers.QueryEmbeddings.InitEmbeddings | ( |  | ) |
| inlinestatic

Loads embeddings from an external file.

## Member Data Documentation

## ◆ embeddingsState

ResourceState RFTesterBackend.ResourceManagers.QueryEmbeddings.embeddingsState = ResourceState.NOT_LOADED
| staticprivate

State of resource manager

## ◆ idToEmbedding

Dictionary<int, List<double[]> > RFTesterBackend.ResourceManagers.QueryEmbeddings.idToEmbedding = new Dictionary<int, List<double[]>>()
| static

Actual query embeddings for target image id.

## ◆ log

readonly log4net.ILog RFTesterBackend.ResourceManagers.QueryEmbeddings.log
| staticprivate

Initial value:
= log4net.LogManager.GetLogger(
System.Reflection.MethodBase.GetCurrentMethod().DeclaringType)

## Property Documentation

## ◆ EmbeddingsState

ResourceState RFTesterBackend.ResourceManagers.QueryEmbeddings.EmbeddingsState
| staticget

The documentation for this class was generated from the following file:

- RFTesterBackend/ResourceManagers/QueryEmbeddings.cs