You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
361 B
17 lines
361 B
|
|
#pragma once
|
|
|
|
#include "base/basic_types.h"
|
|
#include "kaldi/base/kaldi-types.h"
|
|
|
|
namespace ppspeech {
|
|
|
|
class NnetInterface {
|
|
public:
|
|
virtual ~NnetForwardInterface() {}
|
|
virtual void FeedForward(const kaldi::Matrix<BaseFloat>& features,
|
|
kaldi::Matrix<kaldi::BaseFloat>* inferences) const = 0;
|
|
|
|
};
|
|
|
|
} // namespace ppspeech
|