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

Method GetShape

tensorflow/compiler/xla/service/service.cc:1140–1145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1138}
1139
1140Status Service::GetShape(const GetShapeRequest* arg, GetShapeResponse* result) {
1141 TF_ASSIGN_OR_RETURN(const ShapedBuffer* buffer,
1142 allocation_tracker_.ResolveForReplica(arg->data(), 0));
1143 *result->mutable_shape() = buffer->on_host_shape().ToProto();
1144 return Status::OK();
1145}
1146
1147Status Service::GetComputationGraphStats(
1148 const ComputationGraphStatsRequest* arg, ComputationStatsResponse* result) {

Callers 15

EmitTiledCompareLoopFunction · 0.45
EmitSortInPlaceFunction · 0.45
EmitTupleSelectFunction · 0.45
LoopEmitterMethod · 0.45
HandleDotMethod · 0.45
EmitMethod · 0.45
EmitNaiveLlvmIrGemmMethod · 0.45

Calls 2

mutable_shapeMethod · 0.45
ToProtoMethod · 0.45

Tested by

no test coverage detected