ONE - On-device Neural Engine
Loading...
Searching...
No Matches
CircleStridedSlice.cpp File Reference
#include "luci/Service/CircleShapeInference.h"
#include "Check.h"
#include "CircleCloneNode.h"
#include "CircleShapeInferenceHelper.h"
#include <luci/IR/CircleNode.h>
#include <loco/IR/DataType.h>
#include <loco/IR/NodeShape.h>
#include <oops/InternalExn.h>
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <limits>

Go to the source code of this file.

Data Structures

struct  luci::sinf::StridedSliceParams
 
struct  luci::sinf::StridedSliceContext
 

Namespaces

namespace  luci
 
namespace  luci::sinf
 

Functions

int luci::sinf::Clamp (const int32_t v, const int32_t lo, const int32_t hi)
 
int64_t luci::sinf::StartForAxis (const StridedSliceParams &params, const loco::TensorShape &input_shape, int64_t axis)
 
int64_t luci::sinf::StopForAxis (const StridedSliceParams &params, const loco::TensorShape &input_shape, int64_t axis, int64_t start_for_axis)
 
StridedSliceParams luci::sinf::BuildStridedSliceParams (StridedSliceContext *op_context)
 

Variables

const int luci::sinf::kMaxDim = 5
 
const loco::DataType luci::sinf::S32 = loco::DataType::S32