| 149 | } |
| 150 | |
| 151 | bool OpNode::IsTimeShapeIdentity() const { |
| 152 | std::shared_ptr<const Shape> in_shape = CHECK_JUST(op().GetInputBlobFastestTimeShape()); |
| 153 | if (!in_shape) { return true; } |
| 154 | std::shared_ptr<const Shape> op_shape = CHECK_JUST(op().GetOpTimeShape()); |
| 155 | return *in_shape == *op_shape; |
| 156 | } |
| 157 | |
| 158 | void OpNode::InitLbi2SourceNode() { |
| 159 | for (OpEdge* edge : in_edges()) { |
nothing calls this directly
no test coverage detected