MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / RuntimeInferShape

Method RuntimeInferShape

paddle/fluid/framework/operator.cc:1646–1651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1644}
1645
1646void 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
1653template <typename T>
1654bool HasSameTensorType(phi::TensorBase* phi_tensor, Variable* var) {

Callers 2

TrainFilesMethod · 0.80
ApplyImplMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected