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

Method set_color

tensorflow/compiler/xla/service/buffer_value.h:118–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116 }
117
118 void set_color(Color color) {
119 CHECK_NE(color, kInvalidColor)
120 << "Should not set the color of a buffer to the invalid color";
121 color_ = color;
122 }
123
124 bool has_color() const { return color_ != kInvalidColor; }
125

Callers 4

TEST_FFunction · 0.80
ToProtoMethod · 0.80
ToProtoMethod · 0.80
DefaultColorerMethod · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64