26#include "torch/extension.h"
27#include "torch/script.h"
65 std::vector<std::pair<double, double>>* pos_history);
70 std::string
GetName()
override {
return "SEMANTIC_LSTM_EVALUATOR"; }
80 at::Tensor torch_default_output_tensor_;
SemanticLSTMEvaluator()=delete
Constructor
bool ExtractObstacleHistory(Obstacle *obstacle_ptr, std::vector< std::pair< double, double > > *pos_history)
Extract obstacle history
std::string GetName() override
Get the name of evaluator.
void Clear()
Clear obstacle feature map
bool Evaluate(Obstacle *obstacle_ptr, ObstaclesContainer *obstacles_container) override
Override Evaluate
virtual ~SemanticLSTMEvaluator()=default
Destructor
Define the data container base class