NnetBatchComputer::ComputationGroupKeyHasher Struct Reference

Public Member Functions

int32 operator() (const ComputationGroupKey &key) const
 

Detailed Description

Definition at line 335 of file nnet-batch-compute.h.

Member Function Documentation

◆ operator()()

int32 operator() ( const ComputationGroupKey key) const
inline

Definition at line 336 of file nnet-batch-compute.h.

References NnetBatchComputer::ComputationGroupKey::first_input_t, NnetBatchComputer::ComputationGroupKey::num_input_frames, and NnetBatchComputer::ComputationGroupKey::num_output_frames.

336  {
337  return key.num_input_frames + 18043 * key.first_input_t +
338  6413 * key.num_output_frames;
339  }

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