#include "luci/Service/CircleShapeInferenceRule.h"
#include "Check.h"
#include "CircleShapeInferenceHelper.h"
#include <luci/IR/CircleNodes.h>
#include <luci/IR/CircleDialect.h>
#include <luci/IR/CircleNodeVisitor.h>
#include <luci/Log.h>
#include <oops/InternalExn.h>
#include <algorithm>
#include <cassert>
#include <cmath>
#include <limits>
#include <stdexcept>
Go to the source code of this file.
◆ DECLARE_USE_SINGLE
#define DECLARE_USE_SINGLE |
( |
|
NAME | ) |
|
Value: template <
class CIRCLENODE>
loco::NodeShape use_##NAME(
const CIRCLENODE *node) \
{ \
auto inputs_shape =
luci::shape_get(node->NAME()).template as<loco::TensorShape>(); \
}
loco::NodeShape shape_get(const loco::Node *node)
Definition at line 200 of file CircleShapeInferenceRule.cpp.
202 { \
203 auto inputs_shape =
luci::shape_get(node->NAME()).template as<loco::TensorShape>(); \
205 }