OpenMS
Loading...
Searching...
No Matches
PeptDeepInput.h File Reference
#include <OpenMS/config.h>
#include <cstddef>
#include <cstdint>
#include <string>
#include <vector>
Include dependency graph for PeptDeepInput.h:

Go to the source code of this file.

Classes

struct  PeptDeepInputConfig
 Sequence-padding policy for PeptDeep ONNX inputs. More...
 
struct  PeptDeepInputBatch
 Flat tensor buffers and dimensions for a PeptDeep ONNX batch. More...
 
class  PeptDeepInputBuilder
 Shared featurization for PeptDeep RT, CCS, and MS2 ONNX predictors. More...
 

Namespaces

namespace  OpenMS
 Main OpenMS namespace.
 
namespace  OpenMS::ML
 

Class Documentation

◆ OpenMS::ML::PeptDeepInputConfig

struct OpenMS::ML::PeptDeepInputConfig

Sequence-padding policy for PeptDeep ONNX inputs.

Collaboration diagram for PeptDeepInputConfig:
[legend]
Class Members
bool add_terminal_tokens = true Add PeptDeep terminal padding tokens around each peptide.
size_t fixed_sequence_length = 0

If non-zero, pad every batch to this fixed sequence length. If zero, pad only to the longest encoded peptide in the batch.

◆ OpenMS::ML::PeptDeepInputBatch

struct OpenMS::ML::PeptDeepInputBatch

Flat tensor buffers and dimensions for a PeptDeep ONNX batch.

Collaboration diagram for PeptDeepInputBatch:
[legend]
Class Members
vector< int64_t > aa_indices
size_t batch_size = 0
vector< float > charges
vector< int64_t > instrument_indices
vector< float > mod_x
vector< float > nces
size_t sequence_length = 0