Home
last modified time | relevance | path

Searched defs:LayoutAttrStorage (Results 1 – 1 of 1) sorted by relevance

/aosp_15_r20/external/tensorflow/tensorflow/dtensor/mlir/dtensor_dialect/ir/
H A Ddtensor_attributes.cc58 struct LayoutAttrStorage : public AttributeStorage { struct
59 using Layout = tensorflow::dtensor::Layout;
60 using KeyTy = Layout;
62 explicit LayoutAttrStorage(Layout layout) : layout(std::move(layout)) {} in LayoutAttrStorage() argument
64 bool operator==(const KeyTy& key) const { return key == KeyTy(layout); } in operator ==()
66 static llvm::hash_code hashKey(const KeyTy& key) { in hashKey()
71 static LayoutAttrStorage* construct( in construct()
77 Layout layout;