#include "NodeDataImpl.h"
#include "NodeExecution.h"
+#include "NodeDomain.h"
namespace locomotiv
{
{
auto node = _graph->nodes()->at(i);
erase_annot_data(node);
+ erase_annot_domain(node);
}
}
}
annot_data(pull, std::move(data));
+ annot_domain(pull, loco::Domain::Tensor);
return true;
}
#include "locomotiv/Session.h"
#include "locomotiv/NodeData.h"
-// This flie is internal test because it includes this local header
+// This flie is internal test because it includes these local header
#include "NodeDataImpl.h"
+#include "NodeDomain.h"
#include <loco.h>
#include <nncc/core/ADT/tensor/Shape.h>
auto data_annotated = locomotiv::annot_data(input->node());
ASSERT_NE(data_annotated, nullptr);
+ auto domain_annotated = locomotiv::annot_domain(input->node());
+ ASSERT_EQ(domain_annotated, loco::Domain::Tensor);
}
auto data_annotated = locomotiv::annot_data(input->node());
ASSERT_EQ(data_annotated, nullptr);
+ auto domain_annotated = locomotiv::annot_domain(input->node());
+ ASSERT_EQ(domain_annotated, loco::Domain::Unknown);
}