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

Function ToString

tensorflow/compiler/xla/service/hlo_instruction.cc:3378–3389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3376}
3377
3378string ToString(HloInstruction::FusionKind kind) {
3379 switch (kind) {
3380 case HloInstruction::FusionKind::kLoop:
3381 return "kLoop";
3382 case HloInstruction::FusionKind::kInput:
3383 return "kInput";
3384 case HloInstruction::FusionKind::kOutput:
3385 return "kOutput";
3386 case HloInstruction::FusionKind::kCustom:
3387 return "kCustom";
3388 }
3389}
3390
3391StatusOr<HloInstruction::FusionKind> StringToFusionKind(
3392 const string& kind_name) {

Callers 15

PropagateMethod · 0.70
GetAliasedParameterMethod · 0.70
DescribeToMethod · 0.70
MatchImplMethod · 0.70
VerifyMethod · 0.70
CloneWithNewOperandsMethod · 0.70
hlo_instruction.ccFile · 0.70
ToStringMethod · 0.70
ValidateMethod · 0.70
ValidateNonTupleMethod · 0.70
MemoryUsageTrackerMethod · 0.70

Calls

no outgoing calls

Tested by 2

TEST_PFunction · 0.56
TEST_FFunction · 0.56