MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / IsConst

Function IsConst

tensorflow/compiler/mlir/lite/flatbuffer_translate.cc:231–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231static bool IsConst(Operation* op) {
232 return isa<mlir::ConstantOp>(op) || isa<mlir::TF::ConstOp>(op) ||
233 isa<tfl::ConstOp>(op) || isa<tfl::QConstOp>(op);
234}
235
236template <typename T>
237static bool HasValidTFLiteType(Value value, T& error_handler) {

Callers 2

BuildTensorMethod · 0.85
BuildSubGraphMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected