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

Method CreateFromProto

tensorflow/compiler/xla/layout.h:40–42  ·  view source on GitHub ↗

De/Serialize a Tile to and from a TileProto.

Source from the content-addressed store, hash-verified

38
39 // De/Serialize a Tile to and from a TileProto.
40 static Tile CreateFromProto(const TileProto& tile_proto) {
41 return Tile(AsInt64Slice(tile_proto.dimensions()));
42 }
43 TileProto ToProto() const;
44
45 bool operator==(const Tile& other) const {

Callers

nothing calls this directly

Calls 3

TileClass · 0.70
AsInt64SliceFunction · 0.70
dimensionsMethod · 0.45

Tested by

no test coverage detected