| 29 | namespace tensorflow { |
| 30 | |
| 31 | class Resource : public ResourceBase { |
| 32 | public: |
| 33 | explicit Resource(const string& label) : label_(label) {} |
| 34 | ~Resource() override {} |
| 35 | |
| 36 | string DebugString() const override { return strings::StrCat("R/", label_); } |
| 37 | |
| 38 | private: |
| 39 | string label_; |
| 40 | }; |
| 41 | |
| 42 | class Other : public ResourceBase { |
| 43 | public: |
no outgoing calls