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

Method ToProto

tensorflow/compiler/xla/layout.cc:24–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22namespace xla {
23
24TileProto Tile::ToProto() const {
25 TileProto tile_proto;
26 for (int64 i : dimensions()) {
27 tile_proto.add_dimensions(i);
28 }
29 return tile_proto;
30}
31
32string Tile::ToString() const {
33 std::vector<string> elements;

Callers

nothing calls this directly

Calls 4

add_dimensionsMethod · 0.80
add_tilesMethod · 0.80
ReserveMethod · 0.45

Tested by

no test coverage detected