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

Method GetShape

tensorflow/compiler/xla/client/client.cc:450–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

448}
449
450StatusOr<Shape> Client::GetShape(const GlobalData& data) {
451 GetShapeRequest request;
452 *request.mutable_data() = data.handle();
453 GetShapeResponse response;
454
455 VLOG(1) << "making get shape request";
456 Status s = stub_->GetShape(&request, &response);
457 VLOG(1) << "done with request";
458
459 if (!s.ok()) {
460 return s;
461 }
462
463 return Shape(response.shape());
464}
465
466StatusOr<string> Client::ExecutionStatsAsString(
467 const XlaComputation& computation, const ExecutionProfile& profile) {

Callers 15

SVDFunction · 0.45
SelfAdjointEigFunction · 0.45
ComputeMatmulVWVtMethod · 0.45
ComputeMatmulUDVTMethod · 0.45
MakeGeneralPaddingFunction · 0.45
qr.ccFile · 0.45
XLA_TEST_FFunction · 0.45
TEST_FFunction · 0.45
XLA_TEST_PFunction · 0.45

Calls 5

mutable_dataMethod · 0.80
ShapeFunction · 0.50
handleMethod · 0.45
okMethod · 0.45
shapeMethod · 0.45

Tested by 12

ComputeMatmulVWVtMethod · 0.36
ComputeMatmulUDVTMethod · 0.36
MakeGeneralPaddingFunction · 0.36
XLA_TEST_FFunction · 0.36
TEST_FFunction · 0.36
XLA_TEST_PFunction · 0.36
XLA_TEST_PFunction · 0.36
CheckShapeMethod · 0.36
XLA_TEST_PFunction · 0.36
XLA_TEST_FFunction · 0.36