| 1644 | } |
| 1645 | |
| 1646 | void OperatorWithKernel::RuntimeInferShape(const Scope& scope, |
| 1647 | const phi::Place& place, |
| 1648 | const RuntimeContext& ctx) const { |
| 1649 | RuntimeInferShapeContext infer_shape_ctx(*this, ctx); |
| 1650 | this->Info().infer_shape_(&infer_shape_ctx); |
| 1651 | } |
| 1652 | |
| 1653 | template <typename T> |
| 1654 | bool HasSameTensorType(phi::TensorBase* phi_tensor, Variable* var) { |
no outgoing calls
no test coverage detected