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

Method GetComputationShape

tensorflow/compiler/xla/client/client.cc:444–448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442}
443
444StatusOr<std::unique_ptr<ProgramShape>> Client::GetComputationShape(
445 const XlaComputation& computation) {
446 TF_ASSIGN_OR_RETURN(const auto& result, computation.GetProgramShape());
447 return absl::make_unique<ProgramShape>(result);
448}
449
450StatusOr<Shape> Client::GetShape(const GlobalData& data) {
451 GetShapeRequest request;

Callers 8

TEST_FFunction · 0.80
CompileMethod · 0.80
CompileXlaFunction · 0.80
RealMainFunction · 0.80
RealMainFunction · 0.80
RealMainFunction · 0.80
TEST_FFunction · 0.80
XLA_TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 3

TEST_FFunction · 0.64
TEST_FFunction · 0.64
XLA_TEST_FFunction · 0.64